Solved

date/time on HTML

Posted on 2011-03-08
5
210 Views
Last Modified: 2012-05-11
I have a website, see below, that I'd uploaded to Godaddy.com, but I noticed that the time is not accurate and I wanted to know how I can change it?  I have a welcome page that states, " today is 3/10/2011 5:00pm", but it's not accurate.  How do I modify this to the correct date/time and keep it consistent?
0
Comment
Question by:vulture714
5 Comments
 
LVL 16

Expert Comment

by:santoshmotwani
ID: 35076729
i cant see website?
0
 

Author Comment

by:vulture714
ID: 35076835
0
 

Author Comment

by:vulture714
ID: 35076889
Here is the date and time on the upper left hand side of the page. date and time
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 35077256
HTML is not putting that date up there, some server side programming language or javascript in the browser is doing.  I'd guess it's coming from the server since javascript would use the time on the computer that the page is displayed on.  Server time would be in the time zone that the server is in and for Godaddy, I think that is Arizona, USA.
0
 
LVL 18

Accepted Solution

by:
Rartemass earned 500 total points
ID: 35077452
Adding on from DaveBaldwin's comment, knowing the timezone the server is in, you can easily modify the javascript to add or subtract hours based on your desired timezone.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question