Get Date from DateTime field

sushmitha

Registered User.
Local time
Today, 08:06
Joined
Jul 30, 2008
Messages
55
I have a Datetime field in my table in format m/dd/yyyy hh:mm:ss AM
How to get only date from this datetime field ??

I need to display the field only for Date like 'MM/DD/YYYY'

Thanks for your help
 
Either you need to set the "format" to "mm/dd/yyyy" or try Trunc(yourfield) to trim the time off.
 
Your right Pat, sorry... Frigging Oracle... I am beeing totaly oracle-ised ...

Tho in Oracle trunc does most definatly work on date/time fields to be trunced to a date only.
 

Users who are viewing this thread

Back
Top Bottom