Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Number of one month days
Message
De
05/07/2002 13:03:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00675628
Message ID:
00675702
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform