Navigation:  MCL Reference > Miscellaneous Functions >

Date( )

Print this Topic Previous pageReturn to chapter overviewNext page

The Date( ) function is a Visual FoxPro function returns the current system date, which is controlled by the operating system, or creates a year 2000-compliant Date value.

 

Syntax 1

DATE( )

When Date( ) is used without arguments, the current date is return.

 

Syntax 2

DATE(nYearnMonthnDay)

nYear

Specifies the year returned in the year 2000-compliant Date value. nYear can be a value from 100 to 9999.

nMonth

Specifies the month returned in the year 2000-compliant Date value. nMonth can be a value from 1 to 12.

nDay

Specifies the day returned in the year 2000-compliant Date value. nDay can be a value from 1 to 31.

 

Returns

Date

 

See Also

Month( ); HrDate( ), JrDate( ), SrDate( ); Year( )

 


Page url: http://www.racematenet.com/english/help/index.html?date.htm