C (30/304)

From:Jack York
Date:05 Aug 2000 at 03:24:39
Subject:Re: Comparing dates

Hello Oliver

On 04-Aug-00, Oliver Roberts wrote:
>>> As for a better way... You could maybe use timer.device/GetSysTime() to
>>> obtain the system time in seconds, rather than use DateStamp() and
>>> calculating the number of seconds from that. And if the format of the
>>> date output is not particularly important then you could use DateToStr()
>>> instead.
>
>> It looked like DateStamp was a lot easier. Wouldn't using the timer
>> device to get the current time add a lot of extra code?
>
> I guess - you'd have to open timer.device first, but the extra code needed
> wouldn't make much difference overall since you'd not need to convert the
> times to seconds yourself. But, really I didn't mean to imply this was a
> better way - just a different way of doing it :)

I always appreciate any help or suggestions. Thanks.

Jack