Project

General

Profile

$ctime » History » Version 3

Per Amundsen, 01/30/2023 01:55 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 2 Per Amundsen
-----------------------------------------------------------------------------
8
9 3 Per Amundsen
*$ctime.ff*
10
11
Returns only the milliseconds elapsed since 00:00:00 GMT, January 1, 1970 based on your system time.
12
13
-----------------------------------------------------------------------------
14
15 1 Per Amundsen
*$ctime(text)*
16
17
Returns the number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on the date that you specify.
18
19
*Parameters*
20
21
text - Date/Time text to parse.
22
23
*Example*
24
25
<pre>
26
//echo -ag $ctime(January 1 1970 00:00:00)
27
//echo -ag $ctime(15/7/89 01:30:37)
28
</pre>