To get the date from the system, call the get date function, date_get():
|
||
|
|
|
|
|
|
This function gets the date from the operating system and formats it according to the specified format string.
If you want to use the system date format, you would call:
|
Note that you must allocate memory for the string used to receive the formatted date. This string must be long enough to accept a date string of the specified format.