Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of one month days
Message
From
05/07/2002 13:03:14
 
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00675628
Message ID:
00675702
Views:
10
Try this:
function MonthDays(tdDate)
local lnRetval

lnRetval = -1
if vartype(tdDate) = 'D'
  lnRetval = DAY(GOMONTH(tdDATE(),1)-DAY(GOMONTH(tdDATE(),1)))
endif
return lnRetval
Glenn

>Hi all,
>
>Which function have to employ to know the number of one month days?
>Example 01/01/2002 gives 31 days
>Thank you in advance for the assistance brought....
>
>bernhart
Previous
Reply
Map
View

Click here to load this message in the networking platform