Right way to get datetime year, month, ..., microseconds as integers #3770
Unanswered
JamesUnicomb
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with utc times and am unable to extract the right times given input:
Is there a way to assume the input datetime is the UTC datetime?
`
double datetime_to_ymdhms(std::chrono::system_clock::time_point datetime) {
int day, hour, minute, second, microsecond;
`
Beta Was this translation helpful? Give feedback.
All reactions