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

Finding # of days current month 2

Status
Not open for further replies.

SHAWTY721

Programmer
Aug 16, 2007
116
US
I am trying to figure out how to find the number of days in the current month. I was wondering if there any functions that could do this.

 
You could build one:
Code:
Day(DateSerial(Year(Date()),Month(Date())+1,0))
 
Thanks, JerryKlmns and RuralGuy for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top