date_datetime_string(date)

From ENIGMA
Jump to navigation Jump to search

Description

Formats the date and time of the given date-time value to a string using the default format for the system and returns it.

Parameters

Parameter Data Type Description
date time_t date-time value to format into a string

Return Values

string: Returns the date and time formatted to a string.

Example Call

// demonstrates drawing the current date and time
draw_text(0,0,date_datetime_string(date_current_datetime()));