13,727 questions
0
votes
2
answers
95
views
Grouping of records in case values are null
We have got a table with a identifier, a key/value pairs and a start and end timestamp which indicates the valid period for the values.
MASTER_WORK_ORDR_ID
START_TS
END_TS
WORK_ORDR_ID_CTXT
...
1
vote
1
answer
166
views
Is it standard compliant to declare DTSTART without time zone?
I booked a train ticket with Trenitalia, the Italian train company.
They sent an email with attached ICS files with the travel information.
When I import that ICS in Thunderbird, the time of the train ...
0
votes
1
answer
127
views
Import timestamp from Rstudio to Snowflake changes timezone
I'm exporting some data from Snowflake to Rstudio and do some data processing. After that I write the data back to Snowflake. The problem is that somehow the timestamp initiale from Snowflake is ...
0
votes
1
answer
94
views
How do I append a timestamp data type with zuckdb/duckdb appender in zig
I need to append candlestick bars to Duckdb that have a timestamp data type. Since I don't know how I have used varchar for time instead. How do I do it properly so that I can query based on timestamp?...
0
votes
0
answers
44
views
Modifying timestamps on Windows reparse points
I need to copy timestamps (modified time) between NTFS reparse points of type junction, directory symlink and file symlink.
I can get the timestamp of a reparse point with os.lstat(). But to apply ...
0
votes
0
answers
103
views
How do I set data in an Inode Field using C
I am trying to write a program that modifies the timestamps of a lot of files at once.
Doing this for aTime and mTime was straightforward using utimensat, but doing it for cTime and bTime/crTime it ...
1
vote
0
answers
577
views
How to properly store a date time value in a sqlite3 database with python
I wanted to store a timestamp from Python in a sqlite3 database. For that I used this kind of code
from datetime import datetime, date, timedelta, time
import sqlite3
import os
def main():
...
1
vote
0
answers
29
views
GridDB time-series query skips rows with millisecond timestamps (Java API)
I'm testing GridDB Community Edition 5.3 (Linux container via Docker Desktop on macOS 14.4, Apple M1).
When I insert rows with millisecond timestamps into a time-series container, and query using a ...
1
vote
0
answers
26
views
How to filter timestamp ranges in GridDB Cloud using Python client?
I'm using GridDB Cloud for a time-series application and working with the official Python client. I have a container named sensor_data that includes a created_at field of type TIMESTAMP.
I want to run ...
1
vote
1
answer
73
views
Performances for retrieving raw timestamp values
In a node.js application we manipulate dates and times as unix timestamps UTC (directly as numbers). These timestamps are stored in postgresql in timestamp columns (not using timezone because ...
-3
votes
1
answer
44
views
How we can manage multiple timezone using mongodb timestamps [closed]
So, I am trying to manage multiple timezone in my nodejs project, I am unable to get results from mongodb timestamps according to timezone that user have selected. Need support to setup an enviorment ...
0
votes
1
answer
83
views
Why does pd.to_datetime('2025175', format='%Y%W%w') and pd.Timestamp.fromisocalendar(2025, 17, 5) gives different output? [duplicate]
Why does pd.to_datetime('2025175', format='%Y%W%w') and pd.Timestamp.fromisocalendar(2025, 17, 5) gives different output?
I expected to obtain Timestamp('2025-04-25 00:00:00') for both cases.
But the ...
-1
votes
1
answer
50
views
Convert a time stamp to seconds from an epoch
I have found this Python function that converts my timestamp into an epoch:
def str_to_timestamp(timestr, epoch=dt.datetime.fromtimestamp(0)):
stamp = dt.datetime.strptime(timestr.strip()[0:20], '%...
1
vote
1
answer
115
views
Kafka writes files to S3 bucket with hours of delay
I´m using Kafka Confluent to read from a SQL DB and covert the contents in JSON files to write them to a S3 bucket.
My connector sink pattern is YYYY/MM/DD and the files are written properly to its ...
0
votes
0
answers
19
views
In Folium can I specify multiple timestamps for a given feature
I have a set of geometric features that I want to animate (change colors) using Folium.
I know how to do it (see MWE below), but it seems I need to copy the feature data for each time, only changing ...
0
votes
0
answers
178
views
Impala Iceberg TimestampNTZ Issue
Query Engine: Impala
When we try to do a select query on a iceberg table which has TimestampNTZ column (Timestamp with timezone), it displays the results.
But when I try to insert a value to the table ...
0
votes
0
answers
60
views
Convert OffsetDateTime to com.google.cloud.Timestamp for GCP Spanner TIMESTAMP
I am using Java 21 Spring Boot 3.4.2 and SpannerTemplate. I need to convert a field OffsetDateTime to the com.google.cloud.Timestamp for the TIMESTAMP column in the database.
I tried implementing ...
4
votes
0
answers
140
views
Chrono: timestamp after 2038
I'm having some issues using chrono after 2038.
My system is a 32Bit system with the following configuration
Kernel: 5.15.118
GCC: 13.2.0
GLIBC: 2.38
I have compiled my program with the flags ...
0
votes
1
answer
58
views
Need help replacing poorly formatted string dates as properly formatted timestamps in BigQuery
I am working on the Google Data Analytics Certificate and trying to clean a dataset consisting of 3 columns in BigQuery:
An Id number
A date in MM/DD/YYYY HH:MM:SS AM/PM format
Number of calories
...
0
votes
1
answer
158
views
Jdbc persists wrong timestamp at 1900
I'm developing an app that store some data with timestamp in the very-past.
My JVM is IBM Semeru (17) running on Europe/Paris tz. But I want to store the timestamp at UTC (GMT+0).
Bellow is my code:
...
0
votes
0
answers
35
views
Django Status Transition Issue: Incorrect Status Update for 'New', 'Active', and 'Deleted'
I have a question. I recently noticed that the statuses aren't updating correctly from "new" to "active" and from "deleted" to "not visible anymore."
For ...
2
votes
1
answer
71
views
R calculate timestamp of earliest sequential prior message based on user ID of who sent message
I have a dataset of messages being sent between two people (user A and user B) on different chats over time. I need to figure out how to track the datetime of the last but earliest user A message ...
1
vote
1
answer
112
views
Inserting PostgreSQL TIMESTAMP Issue
I'm trying to insert a the timestamp value March 9, 2025 at 2:35 am, but PostgreSQL silently changes it to 3:35 am. Here's the gist of what I'm doing:
CREATE TABLE PATIENT (A TIMESTAMP WITHOUT TIME ...
0
votes
2
answers
151
views
Excel/VBA: Create a static time stamp the first time a cell is updated
I am trying to figure out a way in VBA to give a timestamp when a cell is updated, but I want that timestamp to be static and only update one time, the first time.
Columns A-I are a checklist and the ...
0
votes
0
answers
61
views
Postgres JDBC ignores session time zone when binding java.util.Date to SQL TIMESTAMP column
My table has a TIMESTAMP column. Per our convention all times in the db is supposed to be in 'UTC'.
When I insert a java.util.Date it is converted using the JVM's default TimeZone.
There seems to be ...