Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
468 views

How to get the offset for a specific date + time + iana time zone (unix)

I am using the command below to return the offset and this works well for my current time zone. date -d "2020-10-05 17:33:57" +"%:z" I am currently in Australia/Brisbane time zone. ...
learnToCode's user avatar
1 vote
1 answer
289 views

How can I format IANA timezone to US Standard timezone

I have a use-case in which I need a user to enter an availability date on the browser (which will be saved in the database in UTC format) for example July 2nd at 6:30PM, i am getting IANA location ...
nightograph's user avatar
  • 2,269
0 votes
1 answer
92 views

what are the last digits in javascript new Date() object

when I execute the following line in Node > let x = new Date() > x i get something like 2020-06-04T21:51:08.059Z what is .059Z and how would it translate to GMT timezone?
nightograph's user avatar
  • 2,269
3 votes
1 answer
2k views

Why some time zone information are missing on windows 10?

In my local computer i am trying to access the offset values of IANA timezone using the converter as follows, foreach (var timeZone in TZConvert.KnownIanaTimeZoneNames) { var tzi = TZConvert....
Sajeetharan's user avatar
0 votes
1 answer
2k views

Given local DateTime and lat/lon, how to determine a timezone and offset in NodeJs?

In the past I implemented C# library which, given local DateTime and lat/lon, allowed to determine a timezone and offset. I did the following: downloaded shapefiles from efele.net/maps/tz imported ...
vkelman's user avatar
  • 1,631
2 votes
1 answer
695 views

Determine Time Offset given Olson TZID and local DateTime?

I need to determine Time Offset given Olson TZID of an event and a DateTime of an event. I suppose I can do it with a help of Noda Time, but I'm new here and need help - an example of actual API call ...
vkelman's user avatar
  • 1,631