Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First day of six month ago
Message
From
02/10/2007 11:16:33
 
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:
01257928
Views:
19
>
>ldDate = DATE()
>? GOMONTH(ldDate - DAY(ldDate) + 1, -6)
>
>
>>Easiest and simple function.. for first day of six months ago.. is?

humm... much better than Silvain's.. and also clean.. I'll change the choise of star...

Sorry and also thanks Sylvain

what about
? GOMONTH(DATE() - DAY(DATE()) + 1, -6)
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform