For instance, in FoxPro, we say:
Code: Select all
dDate = {2019-04-23}
Code: Select all
dDate = {2019/04/23}
Post by Anonymous »
Code: Select all
dDate = {2019-04-23}
Code: Select all
dDate = {2019/04/23}
Post by FoxProMatt »
Code: Select all
YYYY.MM.DD
Code: Select all
2000.01.01
2012.02.29
2015.09.25
Post by FoxProMatt »
That would be perfect, because it will eliminate one of the code transformations to get from VFP to X#.I am planning to add that syntax as allowed syntax for Date Literals to the FoxPro dialect.
Code: Select all
{MM-DD-YY}
{MM-DD-YYYY}
{MM/DD/YY}
{MM/DD/YYYY}
Code: Select all
{^YY-MM-DD}
{^YYYY-MM-DD}
{^YY/MM/DD}
{^YYYY/MM/DD}
Post by FoxProMatt »
Code: Select all
If Empty(dDate)
Blah...
EndIf
Post by Zdeněk Krejčí »
Post by Zdeněk Krejčí »