date_date_string(date)

From ENIGMA
Jump to navigation Jump to search

Description

Formats the date 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 formatted to a string.

Example Call

// demonstrates drawing the current date
draw_text(0,0,date_date_string(date_current_date()));