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

date function

Status
Not open for further replies.

PQTIII

IS-IT--Management
Sep 21, 2004
110
I want a field to default to the 1st day of the current year. What is the date function for that?

Thanks
pt
 
one way:
Code:
DateValue("1/1/" & Year(Date()))

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Worked great!

Thank You
pt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top