clockNow (Function) |
Top Previous Next |
This function to read the current time - expressed as seconds since 1980-1-1 00:00:00 (Also called LINSEC).
Input: None
Returns: DINT The current time as seconds since 1980-1-1 00:00:00 (LINSEC).
Declaration: FUNCTION clockNow : DINT;
Example: INCLUDE rtcu.inc |