[SOLVED] Clock1.Now returning US Eastern Time not UK Time?

When checking the values in a clock instant (now) I see that the hour reported is 5 hours behind my current time



<!DOCTYPE html>
<meta name=“viewport” content=“width=device-width, initial-scale=1.0”>
	alert( new Date());

in my browser is returning:


This is in Chromium, but I get the same results if I test in Firefox on the same machine

or what do you mean?

Looks like yours is OK Anke, so it could well be a local issue on my machine - will test another

When I run similar code to posted by Anke on my device; it reports the correct local time. When I use an emulator, it provides UTC.

OK, figured it out, my emulator was set to US eastern time, changed to UK time and all is well.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.