Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dates

Status
Not open for further replies.

EscapeUK

Programmer
Jul 7, 2000
438
GB
In my DB the format is datetime (oracle)

Where I only want the user to enter the date. Howvere I want to compare the date entered by the user with the current date (using Now). But now brings back the date and time so it does not work properly. How can I only bring back the date.
 
Format(Now, "short date")

will return just date in short format
etc
so set a variable holding that info and use that in the calculation
::)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top