Script That Shows The Time

by 5 replies
6
hi,

I'm looking to install a script on one of my landing pages that displays the current eastern time.

what I basically need is something like this:

The Current Eastern Time Is: (script showing current eastern time goes here)

I want the script to display the current eastern time to everyone who comes to my landing page no matter where in the world they are or what browser they are using.

If anyone wants to do this for me I'm willing to pay.

Thanks.

James.
#programming #script #shows #time
  • Hi, here is where I get my javascripts for my web sites. All scripts are free. They have several for displaying time.

    JavaScriptSource.com - Free JavaScripts, Tutorials, Example Code, Reference, Resources, And Help
  • Here is a very simple example of a static date time:

    <?php
    $timezone = new DateTimeZone('US/Eastern');
    $currenttime = new DateTime(null, $timezone);
    ?>
    <div id="time">The Current Eastern Time Is: <?php echo $currenttime->format('Y-m-d H:i:s'); ?></div>

    You can however use jQuery/javascript to make it a real clock like counting the time as it goes.
  • I know nothing about programming guys...is anyone willing to do this for me?....I'll pay whatever you want
    • [1] reply
    • Is your website static HTML or wordpress?
      PM me if you need more information, I'll see what's the easiest way for you.
  • <?php
    ?>

Next Topics on Trending Feed