Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GOMONTH(DATE(),-(YEAR(DATE())-1753)*12)
Message
 
To
17/03/2000 20:47:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00347376
Message ID:
00347382
Views:
25
Sorry, wrong cut & paste!

?GOMO(DATE(),-(YEAR(DATE())-1753)*12) returns the correct day

but

?GOMO(DATE(),-(YEAR(DATE())-1752)*12) returns an empty date.


>>Is this a bug?
>
>It looks ok to me. It will keep the same month and day and place whatever year you put in place of '1753'.
>
>What were you expecting?
Doru
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform