[AccessD] A2K: This should be easy

Gustav Brock gustav at cactus.dk
Mon Mar 17 07:15:00 CST 2003


Hi Stuart

Oh, I'm old enough to know about Date and Time and DOS - and drivers
for add-on battery clocks for XT machines.

What I didn't know was that these (Date and Time) were equivalent to
those of VBA; I've always regarded these as functions to only read the
settings of DOS (or WinNT+).

/gustav


>> > Also, another little known fact about the Date, Time
>> > and Now functions.  They work both ways.  If you use this line of code:
>> 
>> > Date=Date()+1
>> 
>> > You've just set your systems date to tomorrow!  <grin>
>> 
>> That is scary! I didn't know that.
>> Why do you know such weird things?

> Because we've been using various BASICs for many years (in my case 
> over 20) and once upon a time in DOS , we regularly used DATE and 
> TIME to adjust the system clock.




More information about the AccessD mailing list