BUG: Ambiguous Date/Datetime Constant ErrorID: Q192768
|
Using an ambiguous date/datetime string in Visual FoxPro 6.0 causes an ambiguous date/datetime constant error message to occur. For example, the following error occurs:
Use the following format:
{^yyyy-mm-dd[hh[:mm[:ss]][a|p]]}
The error message is missing a reference to an optional comma between the Date and Time string.
To include the Hour and retain Minutes and Seconds the default in your
datetime string, use one of the following formats:
-or-
?{^1998-12-12, 10} && This returns 12-12-98 10:00:00 AM
?{^1998-12-12 10:} && This returns 12-12-98 10:00:00 AM
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
?{^1998-12-12 10} && To display date and 10:00:00 AM
Additional query words: kbXBase kbVFp600bug kbvfp600
Keywords :
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: August 3, 1999