Solved

date/time on HTML

Posted on 2011-03-08
5
223 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

759 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