$ctime » History » Version 2
Per Amundsen, 12/17/2018 04:24 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 | text - Date/Time text to parse. |
||
| 16 | |||
| 17 | *Example* |
||
| 18 | |||
| 19 | <pre> |
||
| 20 | //echo -ag $ctime(January 1 1970 00:00:00) |
||
| 21 | //echo -ag $ctime(15/7/89 01:30:37) |
||
| 22 | </pre> |