python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
"OverflowError: mktime argument out of range" on python:3 docker image
I'm using time.mktime() to get dates in a certain format to use a 3rd-party API.
I can reproduce an overflow error on the python:3 docker images, which I don't see when running locally on ubuntu LTS (...
dannyclark
Votes: 0
Answers: 0
mktime causes overflow in SLES 15 SP3
SLES 15 SP3 makes use of glibc 2.31 and our convert time code using mktime is failing with ulong overflow. Can anyone let us know if we are missing something here. Or do we have any other alternative ...
Wanderer
Votes: 0
Answers: 2
difftime returns 0 in C++
I am trying to calculate the elapsed time between the date a book was borrowed and today, but difftime always returns 0.
This is what I have :
#include <string>
#include <iostream>
#includ...
user18160927
Votes: 0
Answers: 0