Skip to main content

Questions tagged [time]

The tag has no usage guidance.

2 votes
0 answers
142 views

Rust implementation of an algorithm I invented (RANDEVU) #2

I came up with an algorithm and created a Rust implementation of it. I've already posted it for code review previously but created another post since I've made many changes to it, including the ones ...
TypicalHog's user avatar
3 votes
1 answer
107 views

Evaluating Extended Operating Hours Past Midnight Across Timezones in PHP

I am working on a project that involves tracking the operating hours of businesses across different timezones. Some of these businesses operate past midnight, and to accommodate this, operating hours ...
tony's user avatar
  • 383
4 votes
2 answers
244 views

This is a simple stopwatch cli application with a few options

My goal of this when I started writing it was simply that it be able to record thousandths of a second in a very performant and accurate way. I'm not sure I have achieved the performance aspect of ...
lull's user avatar
  • 43
3 votes
1 answer
174 views

RANDEVU - Rust crate implementing a simple algorithm I invented

I've created a simple algorithm, implemented it in Rust, and published it as a crate on crates.io. https://crates.io/crates/randevu My code seems pretty clean and idiomatic to me, but I'd like to know ...
TypicalHog's user avatar
6 votes
1 answer
496 views

Checking to see if the current time is close to 9PM

I want to check if the current time is "close" to 9pm UTC. I have the following code to a.) get "now" and convert it to UTC time and b.) get 9pm utc time. Based off when I run it, ...
Taylor's user avatar
  • 241
7 votes
2 answers
281 views

Subtract two lap times (m:ss:fff)

I have two lap time strings I need to subtract, the format is minutes, seconds, milliseconds. This is to compare a new world record time to the previous holder's ...
Soda Party's user avatar
0 votes
1 answer
112 views

Efficient way to load Spacy model

Here, is there any efficient way to load en_core_web_mdmodel without importing whole spacy module? It takes a significant amount of time to load the python program. ...
Shyam3089's user avatar
  • 111
5 votes
2 answers
256 views

Time Format Conversion Utility

The code defines a Python script for converting time between 12-hour and 24-hour formats. Review Goals: Is the code idiomatic? (Am I using any outdated practices or functions?) Is there a simpler way ...
Harith's user avatar
  • 9,462