![]() ![]() SET SECONDS ON | OFF determines whether the seconds portion of the value is displayed. In addition, SET HOURS changes the time display to 24-hour or 12-hour (with trailing “AM” or “PM”) format. The sequence of month-day-year is determined by SET DATE, the separators between the numbers by SET MARK, and the number of digits shown for the year by SET CENTURY. The display of the return values of DATE() and DATETIME() is affected by a number of SET commands. The number of seconds in the return value.ĭisplay the time with tenths and hundredths of a second. ![]() The number of minutes to assign to the datetime return value. That makes sense-it would be a pain to have to pass two parameters. Unlike the "strict date" format, this function accepts 24-hour based time. Note that dates in the years 1753 and before could cause problems, because the Gregorian calendar wasn't standardized until then. LtDateAndTime = DATETIME( [ nYear, nMonth, nDay Starting in VFP 6.0, DATE() and DATETIME() can be used to return any specified date or datetime in a Year-2000-compliant format. DATE(), DATETIME(), TIME()ĭATE(), DATETIME() and TIME() return values for the present. Tells you the inside scoop on every command, function, property, event and method of Visual FoxPro. An irreverent look at how Visual FoxPro really works.
0 Comments
Leave a Reply. |