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

Date Question

Status
Not open for further replies.

huBBLe

Programmer
May 15, 2001
50
SG
Is there a function which allows u to find the last day of a month? can't seem to find any.

does it mean i have to write my own function?
 
If you have a date, change day to 01, add 1 to the month, then subtract 1 from the entire date. Date functions "normalize" the date. I do not know your format so look at DateAdd, DateSerial and DatePart.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top