how to show a UTC time as local time in a webpage

Posted by Retrocoder on Stack Overflow See other posts from Stack Overflow or by Retrocoder
Published on 2010-05-04T10:26:04Z Indexed on 2010/05/04 10:28 UTC
Read the original article Hit count: 239

Filed under:
|

I have a database that holds a time as UTC. This time can be shown in a webpage, so I’ve been asked to show it as local time in the page as it can be viewed from any country. A colleague mentioned something about getting the country settings from the current thread but I couldn’t find any details on this. Is what I want to do possible?

© Stack Overflow or respective owner

Related posts about utc

Related posts about website