_CP_timedate is equivalent to the result = timedate() BASIC statement.
Syntax
int _CP_timedate(CPSTR** result) |
Description
This function returns -1 if an error occurs. The error code is contained in _CP_errno.
Example(s)
/* Prints the date and time. */ CPSTR * s = _CP_str_null; _CP_timedate(&s); _CP_print(s); |
See Also