Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
9 votes
7 answers
1k views

I need to iterate through the whole hours of an interval of a particular day. So given the time at one whole hour on the day in question, say, 01:00, how do I find the next whole hour? The next whole ...
1 vote
0 answers
113 views

Microsoft's Robocopy program has these two options: /FFT :: assume FAT File Times (2-second granularity). /DST :: compensate for one-hour DST time differences. What is the exact algorithm that ...
mcu's user avatar
  • 3,610
0 votes
1 answer
55 views

I have very limited knowledge of pandas. The data I'm using covers 2 dst (daylight saving) transitions for the UK (from 1 Sep 24 to 30 Apr 25), and consist of timestamps in milliseconds with values. ...
0 votes
1 answer
62 views

I am trying to run APScheduler for my Flask app, but I can't get daylight saving time working for the cron time. In my app.py, I have something like this: from flask import Flask import pytz from ....
0 votes
0 answers
159 views

Whenever I want to check the difference between 2 dates, I get a different output. Please note that on March 9th, daylight saving started at 2 AM. import dayjs from 'dayjs'; var utc = require("...
0 votes
0 answers
34 views

My understanding of shift method was it will take care of DST. However when testing for 10 hours shift on 2025年03月08日T18:30:00 with US/Central as tzinfo, the expected output should be 2025年03月09日T05:30:...
3 votes
1 answer
78 views

I'm parsing the dnsRecord attribute from a CSVDE dump of DNS records. The attribute stores the timestamp as the number of hours that have elapsed since midnight (00:00:00), January 1, 1601 UTC in a ...
1 vote
1 answer
171 views

The following fails: def round_in_tz(epoch_sec: int, tz_name: str, freq_spec: str): """Round the given epoch timestamp to the nearest pandas time frequency spec in the given timezone.&...
tba's user avatar
  • 6,661
0 votes
3 answers
223 views

I am writing C code for an ESP32C3, so an Arduino type piece of hardware. There is no internal clock, so to get the time I talking to an NTP server on the internet. I am also talking to a weather ...
user3069232's user avatar
  • 8,985
0 votes
1 answer
73 views

How can I disable Daylight Saving Time ? In my model, the DST is automatic but I don't want it. I figured how to bypass it for the events (using toTimeoutInCalendar( DAY, 1 )) but I have a couple of ...
Agathe 's user avatar
2 votes
1 answer
140 views

#include "date/tz.h" #include "date/date.h" #include <iostream> #include <string> int main() { using namespace date; using namespace std; using namespace chrono; auto ...
1 vote
0 answers
29 views

I'm currently working on a reminder bot project that supports recurring reminders. For example, a user can specify that they want their reminder to repeat in intervals of "3 days", "12 ...
4 votes
1 answer
406 views

I'm trying to understand why time.AddDate in Go produces unexpected results during the Daylight Saving Time (DST) transition for the America/Santiago time zone in 2024. Santiago enter DST at 2024-09-...
Chi Feng's user avatar
1 vote
1 answer
398 views

I'm working on a new feature on my app that require updated timezone information (including daylight saving). I understand that the time zone information data (tzdb) is stored inside the JVM. So I ...
0 votes
1 answer
69 views

I'm working on a problem where I need to get date times and get their UTC offset. The data that I get is a date a time and longitude and latitude. I am currently using pytz and timezonefinder to find ...

15 30 50 per page
1
2 3 4 5
...
91

AltStyle によって変換されたページ (->オリジナル) /