Project

General

Profile

$ctime » History » Version 1

Per Amundsen, 07/20/2014 08:14 AM

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
*$ctime(text)*
8
9
Returns the number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on the date that you specify.
10
11
*Parameters*
12
13
text - Date/Time text to parse.
14
15
*Example*
16
17
<pre>
18
//echo -ag $ctime(January 1 1970 00:00:00)
19
//echo -ag $ctime(15/7/89 01:30:37)
20
</pre>