Hi Does anyone know a way to return the number of days in a given month? Thanks
Google search returns plenty of results, here is one: http://www.gotoandlearnforum.com/vie...=19975&p=97144
Web developer - http://www.stevestalder.com To get the best, quickest help read this thread IT professionals freelancer site. Register today to find coders, or offer your services for available freelance projects!
Thanks! Ended up using this though: Code: var tempDate:Date = new Date(); var newDate:Date = new Date(tempDate.getFullYear(), tempDate.getMonth() + 1, 0); return newDate.getDate()
var tempDate:Date = new Date(); var newDate:Date = new Date(tempDate.getFullYear(), tempDate.getMonth() + 1, 0); return newDate.getDate()
Forum Rules