Skip to main content

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.

time
0 votes
1 answer
24 views

R How to reframe data to connect start and stop times

I have a data set that describes narwhal behaviours. There are eight whales (whaleID), multiple behaviours (behaviour), each whale can interact with none, some or all of the other whales (modID), and ...
Ghazam's user avatar
  • 27
0 votes
1 answer
18 views

AHK Multiple clocks showing time from different time zones

Good day, I'm trying to create a script for AutoHotKey (AHK) which would show in a GUI multiple digital clocks (with different time zones). I already created a simple script with 3 different clocks ...
Neelfinity's user avatar
0 votes
0 answers
11 views

convert string to timestamp in pinescript

I'm importing a string that i then turn into an array. i would like to use the date and time values inside the array to draw lines from. The issue seems to be that a const string is expected. Is there ...
Karl Laeufer's user avatar
-1 votes
2 answers
49 views

output value as timevalue - I think

I have this working code I'm using for lap times for races, or I wanna use. Right now I can fill out a list for players and their lap times using Rows-count - it works great, and then I use If-error ...
Daniel Østermark's user avatar
1 vote
2 answers
45 views

data frame breakdown by year, rounding up by duration of each period

I have a data frame of county executives and the first and last years they served. I am running a panel study with county-year as the unit of analysis. The date range is 2000 to 2009. I will like to ...
YouLocalRUser's user avatar
1 vote
2 answers
46 views

Highlight column in Excel based on time block

I have an Excel spreadsheet that shows the employee schedule, and I need it to highlight or outline the column based on the current time. It doesn't have to be date specific and I am fine with it ...
Ani Schmidt's user avatar
0 votes
2 answers
68 views

Generate number based on time.Now() and some time ago [closed]

Do you happen to know any way to "calculate" some number based on time that is "contant" for following condition. Let's say now it time.Now() and I need for example number that is ...
Tom's user avatar
  • 417
0 votes
2 answers
33 views

How to convert a time string measured in 24 hours cycle to 12 hours cycle?

I have a stored value of an hour in a 24-hour format in a variable named hour. My task is to convert this value to a 12-hour format and print the result. I tried while-loops, if-elif-statements. I ...
Dante Taviantz's user avatar
0 votes
0 answers
65 views

What is best way to set time in a Rails app form so that the time is the same once I enter it and doesn't change?

I have a Rails 7 form where I enter in data to populate a database. I have a start_time and end_time in the form: <%= f.time_select :start_time, :value => Time.now.strftime('%I:%M %p') %> <...
mwhocl's user avatar
  • 75
-1 votes
0 answers
22 views

Time series forecasting over Fashion trend [closed]

Dataset I'm working over I want to do fashion forecasting Over this data and I want to forecast the product_name over time, I was thinking to use prophet library but it can only handle univariate ...
Niketa Sengar's user avatar
0 votes
0 answers
22 views

How to convert Unix timestamp to zonedDateTime in ECharts?

I'm quite new to ECharts. I'm using it with Grafana. The source database is InfluxDB and all the measurements are stored in the format: 1720788623000. I want to make it a readable date for the x-axis ...
Edwin de Boer's user avatar
0 votes
0 answers
34 views

When given date and time of clocked work hours, how do I extract hours for weekdays and weekends? [closed]

What excel formula(s) can be applied to extract or completely separate weekday hours from weekend hours when given date and time...and weekday hours roll into the weekend? I am trying to distinguish ...
Fin Lin's user avatar
  • 11
3 votes
2 answers
35 views

ImportError: can't import name perf_counter. What may be the reason?

I`ve been working on my code for Micropython-flashed ESP8266, and well... this error occured: from time import perf_counter ImportError: can't import name perf_counter I believe that the whole code ...
Alex Kolbeck's user avatar
1 vote
0 answers
25 views

PrismaORM shifting the UTC time from my db to the timezone of my nestJs application

I have records with timestamp fields in mySql DB. Like this: 2024-06-26T19:00:00.000Z But when I retrieve these records with prisma, they are converted back to my timezone, so the UTC time in database ...
Kabdik's user avatar
  • 21
1 vote
2 answers
41 views

Remove rows if a certain value is reached, and recalculate

I have a dataset with GPS points and I want to remove points that are within a 2-hour period. Here's a sample of the dataset: gps_data_animals_id acquisition_time 348179 348179 ...
mto23's user avatar
  • 391

15 30 50 per page
1
2 3 4 5
1993