Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
145 views

I’m tracking button clicks on my website and storing both client-side click time and server-side insert time in my database. Frontend (JavaScript) I capture the click timestamp like this: clicked_at: ...
Pavan Kalyan's user avatar
2 votes
1 answer
67 views

I recently upgraded my project from Django 3.2 to Django 5.2 and also updated Python to 3.13. During this process, I noticed that some of my old migration files do not explicitly import timezone from ...
Mikename's user avatar
0 votes
0 answers
79 views

I am trying to filter files based on the POSIXct format in R using tidyverse synthax. What I need is to select all files that are within a timeframe between sunset and next sunrise for each day. I ...
trying-my-best's user avatar
0 votes
1 answer
59 views

I can't seem to find a definitive approach to this problem, lots of options, and pros/cons. I have a medical app written in Flutter which captures the date and time a procedure was performed. The ...
Ben Halicki's user avatar
1 vote
1 answer
118 views

I want to be able to floor a time to the top of the hour, e.g. 14:50:35, becomes 14:00:00. Either unix timestamp or DateTime/DateTimeImmutable, etc. is OK, but I cannot figure out how to do it. I ...
user32457645's user avatar
0 votes
2 answers
92 views

I have a column of numbers, and I want to add a column that changes this to HH:MM:SS df = pl.DataFrame({"seconds": [1.0, 4562.2, 2.44,123.567]}) I have tried df.with_columns(hhmmss=pl....
frank's user avatar
  • 3,816
-1 votes
1 answer
93 views

I've been using api.weather.com to collect hourly weather information for some time and twice a year I have problems on the day when daylight savings time is enabled/disabled. Here is the URL (these ...
CD007's user avatar
  • 61
0 votes
1 answer
83 views

At the moment I delete records like this: DELETE FROM users WHERE DATE_SUB(CURDATE(),INTERVAL 1 DAY)>=last_login last_login = DATETIME field This deletes records after 24 hours but it should ...
WeekendCoder's user avatar
  • 1,081
1 vote
2 answers
244 views

Take the following C# code: DateTime.TryParse("2025-05-03T02:10:36", out DateTime dateTime); Console.WriteLine(dateTime.Kind); Console.WriteLine(dateTime.Ticks); The value of Ticks is here ...
d512's user avatar
  • 34.6k
Advice
1 vote
10 replies
130 views

I'm looking into a running timestamp based on a time span subtracted from a given datetime. The .NET documentation says TimeSpan can't go above days, but I need to be able to define a greater timespan....
Pebermynte Lars's user avatar
2 votes
0 answers
66 views

I have a list of strings representing time in python, where time is given as MJD in UTC. Some have one decimal point, for instance '60781.94298115968', and some have two, for instance '60781....
Random_Astro_Student's user avatar
0 votes
2 answers
102 views

I am calling an API from a flutter application. That API returns a DateTime field in a JSON object. That DateTime field contains local time, this way: 2026-02-01T13:43:08.3568212-03:00 The returned ...
jstuardo's user avatar
  • 4,563
1 vote
3 answers
114 views

I have a dataset with a 'Time' column; for 2 dates the time is incorrect and I need to move it back by 1 hour. This is what my dataframe looks like: Date Time 05.01.2026 17:00 06.01.2026 ...
AjWinston's user avatar
  • 161
1 vote
2 answers
108 views

I'm developing an Android app, and I need to parse some external data. This data includes date-time values, and claims these values to be ISO 8601 compatible. While most of examples I encountered were ...
Dmytro's user avatar
  • 19
1 vote
1 answer
55 views

I have a dataframe with these columns: id_pair (pair of sensors) rssi_mean (detection strength) contact_day (day of the detection as string, e.g. 'Monday') study_week (week of the detection as ...
Johannes Wiesner's user avatar

15 30 50 per page
1
2 3 4 5
4766