97
rated 0 times
[
104]
[
7]
/ answers: 1 / hits: 60733
/ 15 Years ago, thu, december 17, 2009, 12:00:00
How can I obtain the last day of the month with the timestamp being 11:59:59 PM?
More From » jquery
How can I obtain the last day of the month with the timestamp being 11:59:59 PM?
This will give you last day of current month.
var t= new Date();
alert(new Date(t.getFullYear(), t.getMonth() + 1, 0, 23, 59, 59));