Re: Current date notation
Re: Current date notation
- Subject: Re: Current date notation
- From: John W Baxter <email@hidden>
- Date: Fri, 11 May 2001 08:14:35 -0700
At 9:52 -0400 5/11/2001, Dennis Wurster wrote:
>
>But instead of calling the current date osax 3 times you could set it to a
>
>variable and just call it that once.
Aside from quicker, consider what could happen very near midnight: with
the three calls, you get the day on one side of midnight and the month on
the other side. Not good if you start on the last day of a month. If this
happens to be the end of December 31, you could also get an unwanted year
mixed in.
I claim that the quicker issue is much less important than the correctness
issue.
--John
--
John Baxter email@hidden Port Ludlow, WA, USA