Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox new Date returning wrong time.

  • பதில்கள் இல்லை
  • 1 இந்த பிரச்சனை உள்ளது
  • 1 view

I am currently situated at UTC+5:30 Chennai Time Offset location. When I try to do new Date() on firefox, I get the correct date, that is for today for that timezone. Attached a screenshot of correct system timeZone and new Date() output. My question is, if I change the system timeZone to say UTC+14:00 and do new Date(), shouldn't it give result for that timezone as Chrome does? If there is a way to achieve that please let me know.

I am currently situated at UTC+5:30 Chennai Time Offset location. When I try to do new Date() on firefox, I get the correct date, that is for today for that timezone. Attached a screenshot of correct system timeZone and new Date() output. My question is, if I change the system timeZone to say UTC+14:00 and do new Date(), shouldn't it give result for that timezone as Chrome does? If there is a way to achieve that please let me know.
Attached screenshots