date_time_string(date)

From ENIGMA
Jump to navigation Jump to search

Description

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

Example Call

// demonstrates drawing the current time
draw_text(0,0,date_time_string(date_current_time()));