native

get_time

Syntax

native get_time(const format[], output[], len);

Description

Retrieves the current time using the specified format string.

Parameters

format Format string
output Buffer to copy formatted time string to
len Maximum size of buffer

Note

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"

Return

Number of cells written to buffer