Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of days in a month
Message
From
10/10/1997 19:42:58
 
 
To
10/10/1997 12:44:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00053634
Message ID:
00054124
Views:
32
It doesn't work when the date is the last day of month and the next month has less than 31 days. Also for January 28, 29, 30.

Vlad

>My suggestion will give you the date of the last day of the month. Simply change it to:
>day( date()+31 - day(date()+31) )
>to get the days.
>
>>date()+31 - day(date()+31) && will do it. Instead of date(), you can send {02/01/98}, for example
Previous
Reply
Map
View

Click here to load this message in the networking platform