PHP Classes

File: js/js.js

Recommend this page to a friend!
  Classes of ganesh kavhar   PHP Event Planner   js/js.js   Download  
File: js/js.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Event Planner
Application to help users to organize events
Author: By
Last change:
Date: 1 year ago
Size: 428 bytes
 

Contents

Class file image Download
$(function() { myTimer(); setInterval(function(){ myTimer() }, 1000); function myTimer() { var y = new Date(); var time = y.toLocaleTimeString(); var year = y.getFullYear(); var month = y.getMonth() + 1; var day = y.getDate(); document.getElementById("dateAndTime").innerHTML = "" + day + "/" + month + "/" + year + " " + time + " (GMT + 0)"; } });