native format_time(output[], len, const format[], time = -1);
output | Buffer to copy formatted time string to |
len | Maximum size of buffer |
format | Format string |
time | Unix timestamp, use -1 to use the current time |
Retrieves the provided time using the specified format string.
Uses the strftime C function. For a list of valid format parameters, see: http://cplusplus.com/reference/clibrary/ctime/strftime.html A common example for a format string would be: "%m/%d/%Y - %H:%M:%S"
Number of cells written to buffer
If the conversion process fails, an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.