Date manipulation trick required.

hooi

Registered User.
Local time
Today, 15:44
Joined
Jul 22, 2003
Messages
158
I have an original date (mm/dd/yyyy) such as: 6/01/2003. I'd like to use macro/query to change the date to a month based on another date field (eg. 7/15/2003), so that the result for the original date will become 7/01/2003.

Any help would be appreciated. Thanks...
 
Have a look at these functions in the help files:

Day()
Month()
Year()
DateValue()
DateSerial()
TimeValue()
TimeSerial()
IsDate()
 
Thanks...
 
Wouldn't it be easier to make the format consistant over your entire program. It's a good programming practice

*EDIT*

Nevermind. It's early and my brain farted:)
 

Users who are viewing this thread

Back
Top Bottom