Converts DT scalar format to UTC scalar format.
dt (Nx1 vector) – DT scalar format.
utc (Nx1 vector) – UTC scalar format.
dt = 20010326085118; tc = dttoutc(dt); print "tc = " tc;
The above code produces the following output:
tc = 985633642;
In DT scalar format, 10:50:31 on July 15, 2010 is 20100703105031. A UTC scalar gives the number of seconds since or before January 1, 1970 Greenwich Mean Time.