Quick Date Question

amerfeld

Registered User.
Local time
Today, 10:48
Joined
Aug 17, 2004
Messages
58
I think this is simple (but apparently only if you know the answer :o ).

I have a "create date" field on a form that I would like to default to the current date - but not time. (I know Now() returns date and time).

The reason I would like to eliminate the time is I have to compare the create date to an "approved" date to make sure the "approved" date is after or the same as the "create date" and it doesn't work if time is included.

I could have the user enter the date, but would like it to default if possible.

As always, thanks for any help! This site is awesome!
 
Rather than Now(), use Date() ;)
 
Great!

Thanks! It works.
 

Users who are viewing this thread

Back
Top Bottom