Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

date/time on HTML

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
vulture714
Asked:
vulture714
1 Solution
 
santoshmotwaniCommented:
i cant see website?
0
 
vulture714Author Commented:
0
 
vulture714Author Commented:
Here is the date and time on the upper left hand side of the page. date and time
0
 
Dave BaldwinFixer of ProblemsCommented:
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
 
RartemassAuthor, martial arts coach, IT ConsultantCommented:
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now