Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First day of six month ago
Message
De
02/10/2007 11:09:50
 
 
À
02/10/2007 11:06:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01257910
Message ID:
01257923
Vues:
18
>>
ldSixMonths = GOMONTH (DATE (), -6)
>>RETURN DATE (YEAR (m.ldSixMonths), MONTH (m.ldSixMonths), 1)
HTH
>>
>>>Easiest and simple function.. for first day of six months ago.. is?
>Sylvain
>
>got it... thanks... helps..
>
>Claudio

I once took a good long time perfecting a routine to work out a date's xth mensaversary (cf monthly "anniversary") only to discover years later that the GOMONTH() function existed! :-)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform