Project

General

Profile

$ctime » History » Revision 5

Revision 4 (Per Amundsen, 01/30/2023 01:55 AM) → Revision 5/6 (Per Amundsen, 01/30/2023 04:17 AM)

_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.ff* 

 Returns only the milliseconds elapsed since 00:00:00 GMT, January 1, 1970 based on your system time. *(AdiIRC Only)* 

 ----------------------------------------------------------------------------- 

 *$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* 

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