Solved

date/time on HTML

Posted on 2011-03-08
5
217 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

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

Suggested Solutions

Title # Comments Views Activity
HTML5 storage and web apps 11 44
CSS DIV Height in Percent 1 25
Timer on div 5 23
Jquery Bold 3 specific words in a paragraph 5 24
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Find out what you should include to make the best professional email signature for your organization.
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.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

763 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