server time

Author
Topic
#1982

Hi,

how to change the time into server time? I want to show the time where the website is hosted

Thanks

Viewing 1 replies (of 1 total)
Author
Replies
  • #1983

    Hi,

    You must supply the theme generated by the server using PHP (or whatever else you might be using) and combine it with JavaScript. JavaScript can only get time of the current browser.

    PHP ‘date’ function can be used for this to provide full time, or to use ‘time’ to generate timestamp.

    Milan

Viewing 1 replies (of 1 total)
  • The topic ‘server time’ is closed to new replies.