Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get first day of current month

Status
Not open for further replies.

AT76

Technical User
Apr 14, 2005
460
US
Hi,

Is there a way to check the current day and change it to the beginning of the month.

For Ex. Check todays date and make it 3/1/06.

Thank you!
 
Either:
DateSerial(Year(Date()), Month(Date()), 1)
or:
Date() - Day(Date()) + 1

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Oops.. I thought I was in the Office forum...

Must remember to verify forums before replying next time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top