Gettimestr
From Hercules Wiki
Syntax
- gettimestr(<"format">, <max length>);
Description
This function returns the current system time and date as a string, according to given format, which has same syntax as the one of C library function strftime. The parameter max length specifies the maximum length of the string returned.
Examples
mes gettimestr("%Y-%m/%d %H:%M:%S",21);
Would print out the full current date and time, ex. "2010-10/30 07:48:37".