javascript help needed!!!
javascript help needed!!!
Out of context: Reply #9
- Started
- Last post
- 17 Responses
- takashi0
...and another try:
if (hours<=12)
var dn = "am"
if (hours>=13)
var dn="pm"
var hours = hours-12
if (hours==24)
var dn="pm"
var hours = 0