Calculates the date, based on how many seconds have elapsed since 12:00 AM GMT on January 1, 1970 (taking into account the current time zone of the computer).
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
ClockGetDate | Date & Time | Synchronous | Supported | Supported | Supported |
ClockGetDate( numSeconds )
Returns the date calculated in string format.
Tag Name | Expression |
---|---|
Tag | ClockGetDate( 0 ) // If the computer is in the Central time zone. Returned value = 12/31/1969 |
Tag | ClockGetDate( 1018886359 ) // If the computer is in the Central time zone. Returned value = 04/15/2002 |