The real difference is that your method works all the time and J.B.'s fails for 5 days of the year.
Take care,
Joe
>This is what I already pointed out: is a "BIG" difference... :)) Just figure out the difference for 5x10^10000 repetitions... :))
>
>Vlad
>
>> 1 sec. in 500,000 repetitions will REALLY save the user's a lot of time, Vlad :-)
>>
>>Barbara
>>
>>>That matters A LOT, especially when you let the user to choose the date format.
>>>There are 4 formats with the year first in FoxPro: ANSI, JAPAN, TAIWAN, YMD. Also, this is almost a standard here (as far as I can I say). :)
>>>
>>>Vlad
>>>
>>>
>>>>Hi Paul!
>>>>
>>>>I think that it doesn't matter ;), but I can't recall the date format where
>>>>year is on the first place...
>>>>
>>>>Have a happy day
>>>>Vladimir Shevchenko
>>>>
>>>>> This depends on SET DATE (and SET CENTURY if the year is on the first
>>>>place
>>>>> in SET DATE). :(
Joseph C. Kempel
Systems Analyst/Programmer
JNC