Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function to get the last day of month
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00039619
Message ID:
00040410
Views:
53
>Well, to tell you the truth, I thought Jim's formula was like this:
>
>NewDate = gomonth(OldDate,1) - day(OldDate)
>
>but, it was really like this:
>
>NewDate = gomonth(OldDate,1) - day(gomonth(OldDate,1))
>
>which I think will work...but he agreed with my comment that it wouldn't work for a few days of the year...so maybe I am missing something...

Joseph,

Now I jumped to conclusions. The old formula works fine for all dates that I have tested.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform