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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extracting date from a date time field

Status
Not open for further replies.

SmithyJD

IS-IT--Management
Sep 23, 2004
52
GB
I have a datetime field in the sql data base I am working with but am only intereted in the date is it possible to extract this to another variable

Thanks in Hope

JD
 
Maybe I'm missing something, but I'd use a formula such as:

Code:
date(date_time_var)

You also may want to look at the date functions in help.

damon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top