Tom Crowfoot
asked on
Get 1st day of month
Dear Experts
In an Access Query I need to be able to return the 1st day of the month from a field
the field is [Invoice Date]
so if [Invoice Date] = 15/10/2013 then the result should come out as 01/10/2013 etc. This needs to come out as a date rather than a formatted text field
Can anybody help?
Many thanks
In an Access Query I need to be able to return the 1st day of the month from a field
the field is [Invoice Date]
so if [Invoice Date] = 15/10/2013 then the result should come out as 01/10/2013 etc. This needs to come out as a date rather than a formatted text field
Can anybody help?
Many thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect - thank you very much
FirstDay: DateSerial(Year([Invoice Date]), Month([Invoice Date]), 1)
EDIT:
Too slow.