$ctime » History » Version 6
Per Amundsen, 02/16/2023 09:25 PM
| 1 | 1 | Per Amundsen | _Added in 1.8.10_ |
|---|---|---|---|
| 2 | |||
| 3 | *$ctime* |
||
| 4 | |||
| 5 | Returns total number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on your system time. |
||
| 6 | |||
| 7 | 2 | Per Amundsen | ----------------------------------------------------------------------------- |
| 8 | |||
| 9 | 1 | Per Amundsen | *$ctime(text)* |
| 10 | |||
| 11 | Returns the number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on the date that you specify. |
||
| 12 | |||
| 13 | *Parameters* |
||
| 14 | |||
| 15 | 6 | Per Amundsen | table(ktable). |
| 16 | |*Parameter*|*Description*| |
||
| 17 | | text | Date/Time text to parse. | |
||
| 18 | 1 | Per Amundsen | |
| 19 | *Example* |
||
| 20 | |||
| 21 | <pre> |
||
| 22 | //echo -ag $ctime(January 1 1970 00:00:00) |
||
| 23 | //echo -ag $ctime(15/7/89 01:30:37) |
||
| 24 | </pre> |