Javascript Time

Testing…

It is now

<!–

var currentTime = new Date()

var hours = currentTime.getHours()

var minutes = currentTime.getMinutes()

if (minutes 11){

document.write(“PM”)

} else {

document.write(“AM”)

}

//–>

Leave a Reply

Your email address will not be published. Required fields are marked *