Jump to content

Looking For A Good Time & Date Script


dlevens
 Share

Recommended Posts

I am looking for a nice script to display the current time and date on my website. I am hoping to find something that can do the following:

 

1. display is dynamic and text based

2. streamlined and super fast to load

3. displays the time from one of the SNTP servers

 

So far the best I have found is this PHP script but it pulls the webservers time and the website I want to put this in is HTML not PHP and I am such a newb when it comes to PHP that I have not figured out how to include this PHP code into my HTML page.

 

><?php
$hourdiff = "3";
$timeadjust = ($hourdiff * 60 * 60);
$melbdate = date("l, d F Y h:i a",time() - $timeadjust);
print ("$melbdate");
?>

 

If anyone has found anything worth using please let me know

 

Thanks,

 

Dennis

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...