I have a web application that displays datetime stamps on every page, for example:
December 12, 2009 6:00 pm
I would like to dyn
Here is how you could do it with the wonderful "progressive enhancement":
Output the date where you want it to appear, but be sure to specify its timezone (I use GMT here, but you could use UTC, etc). Then swap it out with the local time on load (Automatically handled by JavaScript if the original timezone is provided).
December 12, 2009 6:00 pm GMT