$ctime: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
It is specified, not spezified.. |
||
Line 1: | Line 1: | ||
Returns total number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on your system time or on the time you have | Returns total number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on your system time or on the time you have specified. | ||
$ctime | $ctime | ||
$ctime(text) | $ctime(text) |
Revision as of 14:12, 14 September 2005
Returns total number of seconds elapsed since 00:00:00 GMT, January 1, 1970 based on your system time or on the time you have specified.
$ctime $ctime(text)
$ctime without properties is equivalent to $ctime(January 1 1970 00:00:00).
Example
$ctime(24/12/2004 12:00)
This will return 1103886000, as it is total number of seconds from January 1, 1970, 00:00 until December 24, 2004, 12:00.
See Also
$asctime returns the time and date in text format associated with the $ctime time value.