Calculates how many seconds have elapsed since 12:00 AM GMT on January 1, 1970, at the moment the function was run (taking into account the current time zone, as specified on the local computer).
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
GetClock | Date & Time | Synchronous | Supported | Supported | Supported |
GetClock( )
This function takes no parameters.
Returns the number of seconds that have elapsed since 12:00 AM GMT on January 1, 1970, at the moment the function was run.
Tag Name | Expression |
---|---|
Tag | GetClock() // If executed at 10:59:19 AM April 15th 2002 CST. Returned value = 101886359 |
Tag | GetClock() // If executed at 00:00:00 January 1st 1970 GMT. Returned value = 0 |