Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First day of six month ago
Message
From
02/10/2007 11:09:50
 
 
To
02/10/2007 11:06:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01257910
Message ID:
01257923
Views:
20
>>
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform