Questions tagged [datetime]
A DateTime object in many programming languages describes a date and a time of day. It can express either an instant in time or a position on a calendar, depending on the context in which it is used and the specific implementation. This tag can be used for all date and time related issues.
datetime
71,222
questions
0
votes
0
answers
13
views
RTC module current timestamp has truncated seconds
I have a simple bit of C (Arduino) code which uses a non-blocking interval timer to compare two different timestamp values to determine weather or not a specific interval x has passed, if so, then ...
0
votes
0
answers
25
views
How can you use axvspan to show missing datetime data?
I am plotting data showing the water surface elevation of a creek over a 16-year time span. The data are provided in 15-minute increments, but there are missing time periods, including one that lasted ...
0
votes
2
answers
21
views
using POSIXct to try and clean datetime cells in a table
I am trying to clean some tables in r and I have two columns that are in date time value. I know that date time value cells are difficult to deal with. Part of my problem is that the cells are mixed ...
1
vote
0
answers
19
views
How to filter Microsoft Outlook emails using a specific date range?
I'm fairly new to Python and have been using it to make things at work easier for me. I work in I.T. and have to read through a lot of emails to look at the status of different things. One of these is ...
2
votes
1
answer
56
views
Why is the DateTime with specified culture ´nl-NL´, written in culture that is set by the browser?
In Blazor Wasm, I use the following code to write today's date in LongDatePattern to the console. It works well for English, German, Spanish and French. But for Dutch, it writes the date in the ...
0
votes
1
answer
18
views
Calculate day difference between one date and multiple dates in the same column
I have an input table like this
date
amount
2011-01-02
50
2011-01-03
40
2011-01-04
20
2011-01-05
10
Am looking to group it and create a one-to-many where the difference of date A1 is compared to ...
0
votes
0
answers
11
views
mysql current_timestamp format as MM-DD-YYYY HH:MM:SS ? in an insert into? VBNET [duplicate]
I might want to insert the current date time into a MySQL datetime column using the format as described in the question title.
Not as YYYY-MM-DD
I don't know if this is done or your supposed to format ...
-1
votes
1
answer
35
views
Create TimeLine field with PyQt5
I need to develop a program to enter time reports. What I do is very similar to time graphics.
I was only able to implement scaling, shuffling and pseudo-infinity fields. The main task is to somehow ...
0
votes
1
answer
34
views
What is the meaning of: Pandas data cast to numpy dtype of object. Check input data with np.asarray(data) and how can be solved?
I'm trying to model a time series for a stock price with the following code:
import opendatasets as od
import numpy as np
import pandas as pd
import plotly.graph_objects as go
from plotly.subplots ...
-2
votes
3
answers
28
views
Converting time and then calculating duration
I am working in Python and I have a .csv file that I've imported with two columns: a start date and and end date. I need to be able to convert both dates to a readable format in python so that it can ...
1
vote
1
answer
25
views
.NET c#: Convert string (ej. "Mar 26, 2021 at 7:17 PM") to DateTime object
I am trying to create a DateTime object from strings like
Dec 1, 2020 at 11:03 AM
Mar 26, 2021 at 7:17 PM
Oct 21, 2020 at 3:07 PM
I am using this but it throws error:
string format = "MMM d, ...
0
votes
0
answers
44
views
Trying to work with the ComsosDb Change Feed Reader on an Azure function, how do I define the StartFromTime parameter?
I have an Azure Function that looks like this:
[Function("MyCosmosDBTrigger")]
public async Task Run([CosmosDBTrigger(
databaseName: "myDatabase",
containerName: "...
0
votes
1
answer
21
views
SQL QUERY reporting production yield by time range Group by
Hi I am new to the SQL world. I want to calculate the system on and off time and total production yield of each run time. Thanks.
Here is exmple of the raw data.
timestamp
system status
yield lbs/s
...
0
votes
1
answer
29
views
SystemVerilog module that stores date and time
VHDL does not have any method to get system date and time until VHDL 2019. This means that if I need to store the FPGA design synthesis time when an FPGA design is compiled, or when simulation is run, ...
-1
votes
0
answers
40
views
How to return only the first date of the patient's measurement? [duplicate]
I have a patient list and I have the date and time when a specific procedure was done. I need to return the patients and only their first datetime when the procedure was performed during the same ...