I have a webpage that displays the last time it was updated using document.write(document.lastModified)
. I get two different results when I view the page in Chrome and in Firefox. Firefox displays the time correctly - in my local time. Chrome displays it in UTC.
How do I get Chrome to display the datetime in either (a) local time of whoever is vieweing the page or (b) in PDT/PST (simpler)
Is there a solution that will display local time on both Chrome and Firefox (and others)?
Thanks.