Converts a Unix local or Coordinated Universal Time (CUT) time value to ECMA date and time format.
#include <smsutapi.h> CCODE NWSMUnixTimeToECMA ( UINT32 unixTime, ECMATime *ECMATime, NWBOOLEAN32 local);
(IN) Specifies the Unix local or CUT time value.
(OUT) Points to the converted time value in ECMA date and time format.
(IN) Specifies the time format flag:
NWSMUnixTimeToECMA always returns zero.
NWSMUnixTimeToECMA does not convert local time to CUT, or vice-versa and accounts for day light savings.
If unixTime contains a CUT value, ECMATime.typeAndTimeZone is set to zero.