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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show First date of current month in text field

Status
Not open for further replies.

mauricionava

Programmer
Jul 8, 2005
209
0
0
US
Hi all, I have a form for reports where you input the start date and end date in two fields for the reports. How can I automatically show the 1st day of the current month in a text field? Thanks
 
Do you mean one of these:

[tt]Date - Day(Date) + 1
DateSerial(Year(Date),Month(Date),1)[/tt]

Or

[tt]Format(Date - Day(Date) + 1,"dddd")[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top