PROBLEM IN SHOWING DATE ON STATUSBAR

Mahesh Rawat

Total Post:11

Points:77
Posted by  Mahesh Rawat
 1495  View(s)
Ratings:
Rate this:
i am new in javascript, i need to show the
give the right solution of its
  1. Amit Singh

    Post:103

    Points:721
    Re: problem in showing date on statusbar

    we showing the date on status bar as

    var currentTime = new Date()
    var month =
    currentTime.getMonth() + 1
    var day = currentTime.getDate()
    var year = currentTime.getFullYear()

    window.status=month + "/" + day + "/" + year

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!