Removing time from date

X

xool

Hi all

i'm trying to compare a variable containing a date with todays date.

if tempdate <= now()then

trouble is...

tempdate = 05/12/2003
now() = 11/09/2003 14:04:06

how can I get today's date without the time pls

many thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,605
Members
47,225
Latest member
DarrinWhit

Latest Threads

Top