CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 00:57:56 GMT
content-type: text/html; charset=utf-8
cf-ray: 963739fd98cfea32-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=675a4cbf-60d6-4dbe-b8d3-4b16c945a73f; expires=Thu, 23 Jul 2026 00:57:56 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-frame-options: SAMEORIGIN
x-request-guid: 8e3930d6-bb3c-48c1-b05b-d9a2c90ce04f
x-worker-origin-response-time: 575000000
x-dns-prefetch-control: off
set-cookie: prov=675a4cbf-60d6-4dbe-b8d3-4b16c945a73f; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=S.H8VzQ0_dvwCEo2frP8AoyGgFnPPdKSzM0UqJQZLnc-1753232276-1.0.1.1-xxYOMd2EnNTXFvHbWAwktwO4kt5XsZ7dhbvCudBULMdZWixnuDj87hgyOleKJLKixi1WMMWadPpq0mem.IGOGUl.hVnB9NfGcUUMbA93cX4; path=/; expires=Wed, 23-Jul-25 01:27:56 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=UZm96Hlxz5OA52O8b7ohFLlswgNL4zKXJPjtKEM9QiU-1753232276687-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'datetime' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [datetime]
DateTime objects in many programming languages describe an instant in time, expressed as a date and time of day. Use on questions about reviewing code involving date/time logic.
1,048 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
4
votes
2
answers
102
views
Ruby: Implement an 'add_thirty_days'-method
Task:
Implement a method, which receives an array of strings as argument. The strings are dates in the format "MM**DD**YYYY". For example: "11**03**2024".
Add 30 to each of the ...
1
vote
1
answer
179
views
Method to check if date submitted is the 25th hour of the 25 hour day
I'm writing a method that performs the following. I believe I have all of my bases covered but I want to make certain.
Biggest question is am I referencing the 25th hour correctly?
Calculate the 25-...
6
votes
3
answers
791
views
C++ Date Model to be used within models in an MVVM application
I'm working on an application that will make extensive use of dates, there will be various forms of input such as a GUI or text files and the data will be stored in a MySQL database.
The planned use ...
3
votes
1
answer
48
views
6
votes
1
answer
134
views
Support Captain Picker in Vanilla JavaScript
I have been tinkering about a program that would pick the support "captain" of the day on workdays with the following rules:
Program should only pick a captain on weekdays (Mon. to Fri.).
...
1
vote
1
answer
89
views
a Hebrew Date picker package in Flutter: single and range date selections
I have implemented a working Hebrew Date Picker package (link on pub.dev) in Flutter that supports both single date and date range selection.
Here's what the date picker looks like in action:
Single ...
2
votes
0
answers
156
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 ...
5
votes
2
answers
416
views
Plot number of concurrent jobs on time axel
Description:
Calculate the number of concurrently running jobs for any given minute during a day. Each Job is scheduled to run X ...
4
votes
1
answer
132
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 ...
2
votes
1
answer
73
views
Return a set of geodetic coordinates for a particular moment in time
Use case
The user is interested in supplying a timestamp of a particular moment in time. This python application will perform two astronomy calculations for a set list of planetary bodies:
Calculate ...
3
votes
1
answer
189
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 ...
2
votes
2
answers
99
views
Goal: Writing Effective Unit Tests to Ensure a Datetime Conversion To/From Local-UTC Works
As the title lists, I am trying to write an effective unittest suite to ensure that the function that converts a date to UTC from local or vice-versa is doing as planned. But it seems hard because ...
7
votes
2
answers
302
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 ...
0
votes
1
answer
92
views
Python: Return list of keys if current time is within the range
This is the program I have written to return the list of keys if the current hour is present within the range provided.
...
5
votes
1
answer
1k
views
Determine if it is EU summer time in Java
I wanted to write a utility method for learning purposes to determine if a given date (year, month and day) falls within EU summer time or not, without using any of the Java library methods. Is here ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
python × 202
javascript × 195
java × 131
c# × 130
beginner × 117
performance × 82
formatting × 77
c++ × 76
php × 71
python-3.x × 62
sql × 42
jquery × 41
ruby × 41
c × 36
algorithm × 33
validation × 33
interval × 32
parsing × 32
converting × 29
strings × 28
html × 24
pandas × 24
sql-server × 24
object-oriented × 23
timer × 23
more related tags
Hot Network Questions
- Can you identify this shell case from Flanders?
- Why is this endgame winning for Black?
- grep behaviour is different in subshell
- What Does It Mean to ‘Continue in My Word’ in John 8:31?
- Was the double prehung exterior door on my shed installed backwards?
- Comprehensive explanation of targum onkelus
- Why Schrodinger wave equation is totally different from classical wave equation?
- Probability of making a Tower with exactly two different colors
- Is it rude to make someone an academic reference without getting their permission first?
- What does the word "let" mean in mathematics?
- Entity Framework - Is there a safety mechanism to prevent accidentally running Update-Database?
- Can I still get the pacifist ending if I use the fight option in a boss fight, but miss every time?
- Enlarged Graph vertices are covering up edge arrows
- Mother in Law has overstayed her schengen visitor visa by 9 days. I am applying for the same visa this year, what should we take care of?
- Why is there a broom in 歸?
- How to 'scale' a square list?
- Why is my gooseberry jam so stiff?
- What is that "T" in the pattern string of the date-command?
- Are some of (most of?) what we describe as "mistakes of our senses/perception", mistakes of our reasoning process?
- What does this "lightbulb-ish" symbol mean in figure 1 of the Diffie Hellmann paper?
- How would a DiVicenzo machine prepare the maximally mixed state with a small number of ancilla qubits?
- rEAAlly good for you
- Multilingual entries in biblatex throw errors after using \selectlanguage{} from babel
- Inference and multiple comparison tests on GLMM with marginal or conditional interpretations using GLMMadaptive?