$time

From Scriptwiki
Revision as of 12:07, 26 November 2005 by Zyberdog (talk | contribs) (final)

Jump to: navigation, search

Returns the current time in hour:minute:second format, or whatever format specified.

$time(format)

Example

$time  ;returned 11:50:34 just now
$time(yyyy)  ;returned 2005 just now
$time(HH:nn dddd dd/mm/yyyy)  ;returned 11:50 Saturday 26/11/2005 just now

See Also

$asctime and $ctime is often used for more detailed date/time information.