GML: date_current_date( )

date_current_date - Returns the number of days that have passed since 12/30/1899.

( Game Maker 6.1, 7 )

Syntax

rnum = date_current_date();

  • rnum = returned value of number of days from 12/30/1899 to current date.

Explanation

date_current_date() returns the number of days that have passed since 12/30/1899.

Examples

Current Date.

This will return the number of days since 12/30/1899 to current date. On 10/20/2009 the value that was returned was 40106. There had been 40,106 days from 12/30/1899 to 10/20/2009.

today = date_current_date();

Related Pages

Backlinks

Categories: Functions : GML : Timing