date_date_string

Returns a string indicating the given date in the default format for the system.

Syntax:

GML Code Example

date_date_string(date);


Argument Description
date The date to use.


Returns: String


Description

With this function you can create a string containing the given date, formatted as day/month/year.


Example:

GML Code Example

str = date_date_string(date_current_datetime());
 draw_text(32, 32, str);
 

This would set "str" to hold a formatted string of the current date and time as shown by the system.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here