>>>
>>>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)
>
>If you call it at 11:59:59.999 you can get a wrong result.
wow!! ROFL...
well, let's estimate that math possibility, hummm lets see:
numbers users X numbers of mil. of seconds in a day X numbers of routines for a same user it will be same as 1 to 'oops, may my calculator broke???'... well, here we go: a PI number..
So, what about?
DO WHILE time()="11:59:59.999"
? "Waiting"
enddo
? 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