Calculating first day of a month for a date field

C

Chuck W

I have a date field called RNDate with a long date format (i.e. 07/15/2007
9:29:00 AM). I want a separate field Called StartMonth which would be the
first day of the month from the RNDate field. So the value would be
07/01/2007 for this example. Can someone help?
Thanks,
 
J

Jeff Boyce

Chuck

Take a look at the DateSerial() function in Access HELP for exact syntax --
it will look something like (untested):

DateSerial(Year([RNDate]), Month([RNDate]), 1)

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top