Yes, it's possible you need to calculate time zone offset and add then add to your date object time sample code is given below.

var d = new Date('2016-06-15 10:59:53.5055');
    var timeZoneDifference = (d.getTimezoneOffset() / 60) * -1; //convert to positive value.
    d.setTime(d.getTime() + (timeZoneDifference * 60) * 60 * 1000);
    d.toISOString()
Answer from Narayan Sikarwar on Stack Overflow
🌐
DEV Community
dev.to › shubhampatilsd › removing-timezones-from-dates-in-javascript-46ah
Removing Timezones from Dates in Javascript - DEV Community
April 23, 2023 - I looked at both results and they were the same! I finally thought that this would be a great solution: store the output of .toLocaleString() and convert it to a Date again on the client, all without the timezone. However, when I implemented the solution in my React Native app, it didn't work.
Discussions

Remove timezone from a moment.js object
I'm using datetimepicker.js and its date function returns a moment.js object. It does so with the local UTC offset in it and my original date has a different offset. My original date: 2015-10-0... More on github.com
🌐 github.com
4
December 4, 2015
Ignore Time Zone Angularjs - Stack Overflow
Communities for your favorite technologies. Explore all Collectives · Ask questions, find answers and collaborate at work with Stack Overflow for Teams More on stackoverflow.com
🌐 stackoverflow.com
November 19, 2014
Is there a way to use angularjs 'date' filter without the the local timezone?
I need to show date in the same timezone as it coming in from service. But angular date filter converts the date to local timezone. is there a way to avoid conversion in local timezone. My input is... More on stackoverflow.com
🌐 stackoverflow.com
May 5, 2017
angularjs - How to remove timezone in JavaScript? - Stack Overflow
Communities for your favorite technologies. Explore all Collectives · Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work More on stackoverflow.com
🌐 stackoverflow.com
🌐
GitHub
github.com › moment › moment › issues › 2788
Remove timezone from a moment.js object · Issue #2788 · moment/moment
December 4, 2015 - I'm using datetimepicker.js and its date function returns a moment.js object. It does so with the local UTC offset in it and my original date has a different offset. ... Note how I removed the +01 offset at the end.
Author   alvarotrigo
🌐
Stack Overflow
stackoverflow.com › questions › 33787758 › ignoring-time-zone-in-date-object-returned-from-an-api-using-angular
Ignoring time zone in date object returned from an API using Angular
When I display the date I use two filters, mine and the angular date filter to properly format it. <span class="list-content col-sm-6">{{appointment.ApptDateTime | formattedDate | date:'MMM dd, yyyy hh:mm a'}}</span> The problem I'm having is the time is adjusting based off the users current time zone. I want to ignore this and instead use the value as it's returned with out altering it. I notice that depending on the timezone of the computer the response from the API changes the returned date.
Find elsewhere
🌐
Telerik
telerik.com › knowledge base › managing time zones with the dateinputs components
Angular Managing Time Zones with the DateInputs Components - Kendo UI for Angular
January 20, 2026 - As a result, the applied time offset ... details, see the following GitHib issue. To remove the time zone information from a Date object, use the toISOString() method....
🌐
Reddit
reddit.com › r/angular › formatting dates/times in specified timezone
r/angular on Reddit: Formatting Dates/Times in Specified Timezone
September 15, 2022 -

Hi all,

I've got myself in a bit of a pickle, and I'm hoping you kind souls can give me some advice.

I have an application where I want to show the time of an event in a specific time zone (this is neither UTC or local time). I've done this before using moment, but as it is in maintenance mode, I need to move on from it - I have currently been using Luxon, but this can be changed if other libraries are the answer.

My situation:

  • I start with a number, representing the number of milliseconds since the start of the epoch. This is read from a database (sample value: 1659222000000 - representing Saturday, 30 July 2022 23:00:00 in UTC/GMT)

  • I am in "Europe/London" time zone (Sunday, 31 July 2022 00:00:00)

  • I want to output the date/time for the "America/New_York" time zone (regardless of my browsers time zone: Saturday, 30 July 2022 19:00:00)

Does anyone have any bright ideas for how I can get it to show the time in New York instead of the time in London?

Thank you in advance!

🌐
Syncfusion
ej2.syncfusion.com › react › documentation › schedule › timezone
Timezone in React Schedule component | Syncfusion
Removes the local timezone offset from the given date. ... // Assume your local timezone as IST/UTC+05:30 let timezone: Timezone = new Timezone(); let date: Date = new Date(2018,11,5,15,25,11); let convertedDate: Date = timezone.removeLocal...
🌐
GeeksforGeeks
geeksforgeeks.org › how-to-remove-time-from-date-using-javascript
How to remove time from date using JavaScript ? | GeeksforGeeks
June 20, 2023 - Converting a date to another timezone in JavaScript means adjusting the local date and time to match the time in a different timezone. This ensures that the displayed time aligns with the selected timezone, often using built-in methods or external libraries.1.
🌐
GitHub
github.com › angular › angular.js › issues › 14507
$http modifies date in POSTED JSON object (removes timezone or seasonal offset) · Issue #14507 · angular/angular.js
April 25, 2016 - So the $http object subtracts an hour and effectively removes the British Summer Time BST from the time. So this is stored in the database without this offset. When we immediately read this date it comes back but how can the system know that we need to add back the hour ? So imagine also of the user is in another timezone..say 5 hours ahead then the system will subtract 5 hours...Time is sensitive to the context in which it is created. in other words the timezone information should not be removed. I am seeing this in Chrome. Angular 1.4.2
Author   landed1
🌐
Reddit
reddit.com › r/angular2 › using angular date pipe will convert my time, how can i prevent the conversion?
r/Angular2 on Reddit: Using Angular date pipe will convert my time, how can I prevent the conversion?
April 6, 2021 -

I have a time stamp that I got from the server side.

The time before using the date pipe is : 2021-04-01T20:45:30.279+0000 ( html code:

<td mat-cell \*matCellDef="let element"> {{element.when }} </td> )

The time after I used date pipe: 01-Apr-2021 13:45:30

( html code: <td mat-cell *matCellDef="let element"> {{element.when | date: 'dd-MMM-yyyy HH:mm:ss'}} </td> )

The hour is different after using the date pipe. How can I stop it's conversion?

Thank you!

🌐
Mobiscroll
demo.mobiscroll.com › angular › datetime › setting-the-picker-timezone
Angular Date & Time Timezones Example | Mobiscroll
The date picker works with local times by default, but ships with support for changing the timezone. The conversions and correct output relies on either of the two external libraries: luxon or moment-timezone.
🌐
Reddit
reddit.com › r/react › [deleted by user]
How the hell do you store a DATE without offset : r/react
March 23, 2025 - The dates are 03/03/2025 - 09/03/2025 ( Mon Mar 03 2025 00:00:00 GMT+1100 (Australian Eastern Daylight Time) ) ... Maybe try using luxon and passing in Timezone. ... This format is locale specific and changes display based on users settings. Use a format that is not specific to the country/origin/language of humans ... Hmm, Mon Mar 03 2025 00:00:00 GMT+11 is 02/03/25 UTC, no? So its stored as UTC, but when you read from the DB it feels like it doesnt know that it should be read as UTC?
🌐
Syncfusion
ej2.syncfusion.com › angular › documentation › schedule › timezone
Timezone in Angular Schedule component | Syncfusion
Removes the local timezone offset from the given date. Returns Date · // Assume your local timezone as IST/UTC+05:30 let timezone: Timezone = new Timezone(); let date: Date = new Date(2018,11,5,15,25,11); let convertedDate: Date = timezone.removeLocalOffset(date); console.log(convertedDate); //2018-12-05T15:25:11.000Z · You can refer to our Angular Scheduler feature tour page for its groundbreaking feature representations.
🌐
Medium
medium.com › @neehazulfikar › handling-time-zones-in-javascript-and-angular-abc683602790
Handling Time Zones in JavaScript and Angular – No Libraries Needed | by Neha Parveen | Medium
November 9, 2024 - In the last post, we looked at time zone basics and why UTC is your best friend. Now, let’s get into the code for managing time zones directly in JavaScript and Angular – keeping it simple and library-free. JavaScript’s new Date() is always in the user’s local time zone by default.