We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signature would be something like (ZonedTime | :else) strptime(string timestamp, string format)
(ZonedTime | :else) strptime(string timestamp, string format)
Usage: "2024-03-15T12:15:01+0200".strptime("%Y-%m-%dT%H:%M:%S%z"). The timezone info carrying time type is needed too...
"2024-03-15T12:15:01+0200".strptime("%Y-%m-%dT%H:%M:%S%z")
Also do strftime that goes the other way, internal time value to formatted string. string strftime(ZonedTime t, string format).
strftime
string strftime(ZonedTime t, string format)
The text was updated successfully, but these errors were encountered:
Like SysTime in D, std.time.Time should have a timezone field and support all the parser stuff.
Sorry, something went wrong.
No branches or pull requests
Signature would be something like
(ZonedTime | :else) strptime(string timestamp, string format)
Usage:
"2024-03-15T12:15:01+0200".strptime("%Y-%m-%dT%H:%M:%S%z")
. The timezone info carrying time type is needed too...Also do
strftime
that goes the other way, internal time value to formatted string.string strftime(ZonedTime t, string format)
.The text was updated successfully, but these errors were encountered: