Drew Wutka
DWUTKA at marlow.com
Mon Mar 17 10:22:06 CST 2003
Ooops, you're right, Now() doesn't do that. I found this out 2 years ago, when I wrote an Atomic Clock service in VB. I was just about to look for an API to set the date and time, when I thought 'Hmmm....I wonder if...', and sure enough it worked! <grin> Drew -----Original Message----- From: Gustav Brock To: Drew Wutka Sent: 3/17/03 4:14 AM Subject: Re: [AccessD] A2K: This should be easy Hi Drew > 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? But it is only Date() and Time() that works this way, not Now(). /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com