Solved

date/time on HTML

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
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…
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)

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now