Sheikha
Aug 15th, 2005, 02:39 AM
hi:
im building a web based vb.net application. i want to write a javascript in teh html side. basically the user enters a date. it has to be end of the month. for example 31-jan-2005 and not 5-jan-2005. iof teh user enters 5-jan-2005, he should get an alert saying to enter teh date of end of the month.
in sql its like last_day(date). but how do i do it in javascript?
thanks
im building a web based vb.net application. i want to write a javascript in teh html side. basically the user enters a date. it has to be end of the month. for example 31-jan-2005 and not 5-jan-2005. iof teh user enters 5-jan-2005, he should get an alert saying to enter teh date of end of the month.
in sql its like last_day(date). but how do i do it in javascript?
thanks