Difference between revisions of "Getdate"
From OpenEUO
(Created page with " local nYear,nMonth,nDay,nDayOfWeek = getdate () Returns the current date as four values: year, month, day, and day-of-the-week. [http://msdn.microsoft.com/en-us/library/ms72439...") |
|||
| Line 1: | Line 1: | ||
local nYear,nMonth,nDay,nDayOfWeek = getdate () | local nYear,nMonth,nDay,nDayOfWeek = getdate () | ||
Returns the current date as four values: year, month, day, and day-of-the-week. | Returns the current date as four values: year, month, day, and day-of-the-week. | ||
| + | |||
| + | [[Gettime]] | ||
[http://msdn.microsoft.com/en-us/library/ms724390%28v=VS.85%29.aspx Windows API - GetSystemTime function] | [http://msdn.microsoft.com/en-us/library/ms724390%28v=VS.85%29.aspx Windows API - GetSystemTime function] | ||
Latest revision as of 11:05, 9 October 2010
local nYear,nMonth,nDay,nDayOfWeek = getdate ()
Returns the current date as four values: year, month, day, and day-of-the-week.