Hi,
Yesterday I was helped with a date function to get the results I needed, see below. My problem now is formatting the dates in to this format dd/mm/yyy. I have tried everything I could find on the internet but everything I used cam back with errors.
Could some show me the way to structure the dateformat() function to get the date formatted like dd/mm/yyyy.
Thanks in advance.
Yesterday I was helped with a date function to get the results I needed, see below. My problem now is formatting the dates in to this format dd/mm/yyy. I have tried everything I could find on the internet but everything I used cam back with errors.
Could some show me the way to structure the dateformat() function to get the date formatted like dd/mm/yyyy.
Thanks in advance.
Code:
var d=new Date()
d.setDate(d.getDate()+9)
alert(d.toString()) //shows today's date plus 9 days