Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get begin and end dates of a quarter
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01478625
Message ID:
01478661
Vues:
45
>>No there isn't built-in function but it's easy to create an UDF
>>
>>
>>lnQuaterStart = DATE(lnYear, (lnQuarter -1) * 3 + 1, 01)
>>lnQuorterEnd = GOMONTH(lnQuaterStart,3) - 1
>>
>
>Thank you very much. I could have done it in only 20 lines of code <g>

you're welcome
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform