Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

I have a Date field in my dataset query - INCIDENTDATE. I use a Date parameter :P_INCIDENT_DATE to find a match in the query. When I use query designer to check if the parameter works in my query, I ...
Ethel Patrick's user avatar
0 votes
2 answers
79 views

I tried to make a graph using gnuplot where I want to plot a price over a time period (4 am to 10 pm but over a larger time period). My input has a date-time column and a price column: $Data << ...
Navon's user avatar
  • 11
1 vote
1 answer
148 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
73 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
81 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
60 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
120 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
93 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
249 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
132 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
67 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
106 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,564
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
109 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
56 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
0 votes
0 answers
59 views

Recently I have noticed that an API which return a reponse that contains some date type are failing if I have a 12 hour format (AM/PM) on my phone enable iOS 17.6.1. If I switch to 24 hour format the ...
Leotrim Halimi's user avatar
2 votes
2 answers
208 views

If I do: #include <chrono> #include "./date/date.h" #include "./date/tz.h" using UtcTime = std::chrono::time_point<std::chrono::system_clock>; UtcTime xParseRfc822(...
Martin Perry's user avatar
  • 9,663
1 vote
2 answers
92 views

Why does matplotlib round to the nearest month sometimes and not other times depending on the order lines are plotted and which dates are used. ax3 and ax4 are particularly interesting because they ...
Brandon's user avatar
  • 546
Tooling
1 vote
3 replies
69 views

I have a column named ride_length that is the difference between two datetime columns. It has a data type of time delta series. How can I convert it into a time data type? Current format 1 day 12:58:...
Abira Munir's user avatar
1 vote
1 answer
102 views

I am trying to convert a column of time stamps that are currently of type object to proper datetime. When using pd.to_datetime() on the column I got this error OutOfBoundsDatetime: Out of bounds ...
MikeB2019x's user avatar
  • 1,345
1 vote
1 answer
66 views

I try to introduce an alternative way to localize Date expressions using IntlDateFormatter with DateTime. There is a strange behaviour depending on the day that I use. So I must have done an error in ...
user2390325's user avatar
0 votes
0 answers
72 views

I am a newbie at VB.NET coding. I am currently trying to make a real time line chart in WinForms, but I am struggling with zooming in the chart. My chart has the range of random number generated by a ...
Cheryl's user avatar
  • 11
1 vote
1 answer
142 views

I don't want to use Google Apps Scripts, just formulas so that this can be display/edited on a mobile device while offline. [![In column B, I want to put timestamps when a checkbox in Column D becomes ...
Tyler Depke's user avatar
-1 votes
1 answer
106 views

I have power shell code which extracts a date from a different source and converts it: $dtStart = [DateTime]::ParseExact($StartDate.toString().Substring(0, 10).Trim(), 'M/d/yyyy', $null).ToString('dd/...
Joly's user avatar
  • 3,344
1 vote
0 answers
134 views

I have string column in polars dataframe with multiple datetime formats and I am using following code to convert datatype of column from string into datetime. import polars as pl df = pl.from_dict({'...
dikesh's user avatar
  • 3,145
1 vote
1 answer
139 views

I have a data frame and I am trying to convert the time column into a datetime format. The first step I did was: data['time'] = data.time data['time']=pd.to_datetime(data['time'], format='%H:%M:%S.%f')...
Hamza Rehan's user avatar
2 votes
4 answers
236 views

I have a dataframe where each row represents a detection of a fish. The fish can be either, Brown Trout (Fish.ID starts with TB_) or Salmon/Parr (Fish.ID starts with TA_). I want to create a new ...
Kristen Cyr's user avatar
1 vote
1 answer
131 views

Here is my code: import pandas as pd import datetime df = pd.DataFrame({'str_date': ['2023091004']}) df['epoch'] = pd.to_datetime(df['str_date'], format='%Y%m%d%H').astype(int) // 10**9 dt = ...
user1700890's user avatar
  • 7,864
0 votes
1 answer
48 views

I have a list of records where each item has a date field. I'm trying to filter the records based on a given date: from datetime import datetime records = [ {"name": "John", &...
Thosba Sarathi.S's user avatar
-3 votes
2 answers
225 views

I'm receiving this date and time in US format from an upstream server I have no control over and can't change: 12/16/2024 11:30:23 AM I am trying to convert it to UK format using PowerShell: [DateTime]...
Joly's user avatar
  • 3,344
4 votes
1 answer
160 views

I encountered this behaviour and I figured I would ask the correct way to go about it. Here is a toy example: pre_timechange = datetime.datetime(2025, 11, 2, 1, 59, 9, tzinfo=zoneinfo.ZoneInfo(key='...
SomeGuy's user avatar
  • 61
0 votes
2 answers
94 views

I'm using MuleSoft to send data to a Salesforce custom object. My object has a field named Shift_End_Time__c, and its data type is Time. My source system provides this time as a string in UTC format, ...
Kunal Awasthi's user avatar
-2 votes
1 answer
76 views

Is it possible to have the units argument for the timedelta function be defined by a variable? To elaborate, is this possible? Time_Unit = "days" Time_Increment = 1 Time2 = Time1 + ...
Jon S's user avatar
  • 53
3 votes
0 answers
329 views

I have a Datadog dashboard displaying the metrics we get for our AWS Glue Zero-ETL integrations. One of those is lastSyncTimestamp, the epoch timestamp until which source has been synced to target. I ...
dan's user avatar
  • 31
4 votes
2 answers
132 views

I'm working on a Django application in which I need to calculate the difference between timestamps stored in the DB. This week I run into some problems related to DST. In particular in the following ...
Luca Zanetti's user avatar
3 votes
1 answer
87 views

As an an example: print(os.date("%b")) This prints "Oct" when running on a computer having date time settings set to English. When using other language it prints "okt" (...
Per Ljung's user avatar
0 votes
1 answer
142 views

My data decoded from a radio receiver is stored in tables Flights and Aircraft with a common field AircraftID to enable a JOIN. There are fields for when the radio signal starts and ends (StartTime ...
MikeH's user avatar
  • 3
0 votes
1 answer
78 views

I am using IBM MQ on a Windows 11 machine that was originally installed with the Japanese language pack—in other words, unlike the typical en-US installation, mine came with Japanese as the default. ...
Micro Soft's user avatar
0 votes
1 answer
113 views

I'm new to coding, and I'm trying to combine the data from two weather stations into one new dataframe sorted by Datetime. I want this new dataframe to contain the average values of the two original ...
Maurice Verest's user avatar
1 vote
1 answer
155 views

I have a .csv file with two columns (Date and Time). The time zone is "Europe/Paris" with a +02:00 hours shift. The file is structured in 2 parts with two datetime formats. Date Time 08-11-...
RémyClaverie's user avatar
3 votes
1 answer
166 views

Given this sample: final var ARABIC_GREGORIAN_DATE_FORMATTER = DateTimeFormatter.ofPattern("EEEE dd\\MM\\yyyy G").localizedBy(Locale.forLanguageTag("ar")); final var ...
Eng.Fouad's user avatar
  • 118k
1 vote
2 answers
167 views

I have a column of datetimes and I want to get the difference between values in terms of years, months, etc, instead of timedeltas that only provide days. How do I do this in Pandas? Pandas provides ...
wjandrea's user avatar
  • 34.2k
3 votes
3 answers
168 views

I have a dataframe using this format import polars as pl df = pl.from_repr(""" ┌─────┬────────────┬────────────┬──────────┐ │ ID ┆ DATE_PREV ┆ DATE ┆ REV_DIFF │ │ --- ┆ --- ...
Philipp's user avatar
  • 65
0 votes
1 answer
79 views

Is it possible to display the date and time selection field in one field instead of two? How can I get a separate calendar and time selection component (only what is raised by clicking on the field)? ...
Egor Vasilyev's user avatar
-2 votes
1 answer
174 views

I have some data with date time in UTC. My local time is usually 5 or 6 hours behind depending on standard or daylight time. I would like to print the local time. Is there an easy way to do that in ...
tman's user avatar
  • 439
1 vote
0 answers
44 views

I have a Django API that returns self signedup users in a given date range. The AuditLog model stores timestamp with DateTimeField(default=timezone.now) and USE_TZ=True. Locally, the date filter works ...
Manish Shrestha's user avatar
0 votes
2 answers
138 views

I would like to use the Python standard library datetime to assign to a variable the current date, in UTC and having it of type datetime.datetime. i.e. datetime.datetime(2025, 9, 23, 0, 0, tzinfo=...
SeF's user avatar
  • 4,349
1 vote
1 answer
64 views

I am creating a simple script where I need to convert strings with date and time given in NZ time to corresponding UTC time. The time series are done in NZ summer (Dec-Feb) and hence the NZ time is 13 ...
IgorLopez's user avatar
  • 293

1
2 3 4 5
1430