Working with Date/Time Fields

SherriKilgore

Registered User.
Local time
Today, 03:31
Joined
May 4, 2012
Messages
19
How can I convert a Date/Time field into a Date field?
 
I tried this but I need to be able to ignore the time portion of the date/time field. I can create a work around, was just hoping it was something simple I was over looking. Thanks for your help.
 
I tried this but I need to be able to ignore the time portion of the date/time field. I can create a work around, was just hoping it was something simple I was over looking. Thanks for your help.

Can you not get the Format() function to return just the date?
What is the "work around" that you have created?
 
Can you not get the Format() function to return just the date?

The Format function returns a string rather than a Date.

DateValue() is a better choice. It returns the date without the time and works with any date/time expression or valid date/time string as input.
 

Users who are viewing this thread

Back
Top Bottom