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


GML Code Example


Argument Description
date The date to use.

Returns: String


With this function you can create a string containing the given datetime, formatted for the system or device that is running the game when the function is called.


GML Code Example

str = date_datetime_string(date_current_datetime());

This would set "str" to something like "September 15th 2011, 11:33.00" depending on the system settings for date/time displaying and the current date and time.

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