Home > DeveloperSection > Forums > problem in showing date on statusbar
Mahesh Rawat
Mahesh Rawat

Total Post:11

Points:77
Posted on    January-17-2011 3:16 AM

 JavaScript JavaScript 
Ratings:


 1 Reply(s)
 1234  View(s)
Rate this:
i am new in javascript, i need to show the
give the right solution of its


Amit Singh

Total Post:103

Points:721
Posted on    March-01-2011 4:18 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick