Questions tagged [time]

Measuring the time it takes to perform an operation. Also, questions related to obtaining the current time, calculating on times, formatting and parsing times, etc.

28,405 questions
-1votes
0answers
20views

How to change unit on a seaborn time plot?

The goal is to find in the Netflix database, the IMDB score according to the duration in minutes. import pandas as pd import numpy as np From kaggle url1 ='netflix_titles.csv';df1 = pd.read_csv(url1)...
-1votes
1answer
36views

How to do x every x amount of time in a class def

How do you do x every x times. Im trying to in my code, town hall class add money(which is apart of the city class called) every 50 secs using the def function adding_money, but I'm having trouble ...
-2votes
1answer
32views

What is the most accurate way to test computational speed of a function in python [closed]

Seen a few methods such as time.perfcounter(), timeit.timeit(), time.time() etc etc. However, which one is the most accurate?
0votes
0answers
31views

How to set a time-specific event in Flutter?

I am trying to get a switch widget to turn off at a specific time of the day. I have read a lot of the documentations like these https://online-poezie.com/google/questions/15848214/does-dart-have-a-...
0votes
1answer
60views

Best practice for working with DateTime in C# relative to a user's local timezone

I have an application with discount/deals for items that need to be configured to be enabled between specific datetimes i.e. 1st January 2022 7:00 am to 31st January 2022 5:00 pm. The user which sets ...
-2votes
0answers
32views

Python: converting string into time

I am trying to make my first DS project. I'm compiling a dataset of swimming results from the most recent Olympic Games. The problem is the time... As you can see in the image, the time column is like ...
-1votes
1answer
25views

Time delay in unity even when app not active - Calendar app in unity

so I'm making a calendar app in unity, but not just any calendar.. it's a custom calendar app for my friend because he doesn't like georgian, anyway my question is: I have Date.TimeNow.Hour set to get ...
-2votes
0answers
15views

Wrong Timestamp Result In Javascript [duplicate]

I do like this: var tt = new Date(coinHistory.data.history[0].timestamp); console.log(tt.toLocaleDateString('en-GB')); But it is showing 1/20/1970 Which is wrong
-1votes
2answers
49views

how to get the calculated date and time in java? [closed]

I have a date say 2022-07-10 as date (YYY/MM/dd) and time as 00:15 ie. 202207**10*****0015*** after subtracting 30 mins from above the result must be 2022-07-09 and time as 23:45 ie. 202207**09***2345*...
-2votes
1answer
25views

I am Trying to extract Publish Data and Publish Time in separate column form Publish_time, I did extract data but I can't extract time

publish_time New Publish_Date Dand Publish_Time DatasetName:BigData BigData$Publish_DateD<-as.Date(BigData$publish_time)#add Publish_DateD BigData$Publish_Time<- format(as.POSIXct(BigData$...
-2votes
0answers
32views

Age Calculator giving an incorrect output

So, I made an age calculator which tells how much old are you when is your next birthday how many minutes, hours, weeks, and days old you are. But it is not working correctly. I guess it is a JS error....
0votes
1answer
25views

How to unify Date & Time format when there inconsistency exists across a single column

I am working on a data frame that has a column that uses the date and time format as "mm/dd/yy HH:MM" for some observations and "yyyy/mm/dd HH:MM:SS" format for other observations, ...
1vote
2answers
49views

pandas - Convert timing data (motor racing) to seconds

I am trying to convert timing data (lap times and sector times in motor racing) given in the format [ss.000 or m:ss.000] (se below) to seconds or datetime, in order to be able to analyse it. df = pd....
0votes
0answers
22views

Python process never resumes writing to log file after MacBook goes to sleep and wakes up

I have another system that needs this functionality, so I replicated my bug in this simpler system. I wrote a python script that just prints the current time to a log file every ten seconds. When I ...
0votes
0answers
10views

What is the maximum size of a video that can be placed on Telegraph (upload as a file) and how long will this page exist?

What is the maximum video size that can be uploaded to Telegraph? How long will this page exist? Thanks for answers

153050per page