python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to ignore GMT-offset in the date string
The date I'm receiving is 2022-04-01T19:49:58-0600 and I need to show that 19:49 without calculating the GMT (-0600)
I tried this in moment.js and it worked:
moment('2022-04-01T19:49:58-0600').utcOffs...
sina123456
Votes: 0
Answers: 1
two different dates are returned in momentjs timezone for same set time?
Even the value I set for the time in the moment.js timezones same following two different approaches the value of the date returned is different
moment("02:00","HH:mm").tz('Americ...
prashanthh
Votes: 0
Answers: 1
Countdown based on timezone with jQuery
I worked with this:
(function() {
var timeElement, eventTime, currentTime, duration, interval, intervalId;
interval = 1000; // 1 second
// get time element
timeElement = document.queryS...

Anna_B
Votes: 0
Answers: 1
ERROR in ../node_modules/@types/moment-timezone/moment-timezone.d.ts:63:11 - error TS2451: Cannot redeclare block-scoped variable 'tz'
I tried to install ( "ngx-persian-datepicker": "^0.1.3" ) on my angular boilerplate framework.
but wen i run "npm start" , I get this error.
ERROR in ../node_modules/@typ...
Media Aminian
Votes: 0
Answers: 0