ousoonerjoe
Programmer
Is there a simple way of calculating the last day of the month and displaying in MM/DD/YYYY format? There's a trick, it must also be able to account for year change as well.
for example: 1/10/2008 minus 1 month = 12/10/2008
What i need is the last day of the previous month.
Any thoughts are appreciated.
"If I were to wake up with my head sewn to the carpet, I wouldn't be more surprised than I am right now.
for example: 1/10/2008 minus 1 month = 12/10/2008
What i need is the last day of the previous month.
Any thoughts are appreciated.
"If I were to wake up with my head sewn to the carpet, I wouldn't be more surprised than I am right now.