Project

General

Profile

Actions

$ctime » History » Revision 2

« Previous | Revision 2/6 (diff) | Next »
Per Amundsen, 12/17/2018 04:24 PM


Added in 1.8.10

$ctime

Returns total number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on your system time.


$ctime(text)

Returns the number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on the date that you specify.

Parameters

text - Date/Time text to parse.

Example

//echo -ag $ctime(January 1 1970 00:00:00)
//echo -ag $ctime(15/7/89 01:30:37)

Updated by Per Amundsen about 6 years ago · 2 revisions

Also available in: PDF HTML TXT