Skip to content
New issue

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

format= argument to IDateTime() #2402

Closed
franknarf1 opened this issue Oct 5, 2017 · 1 comment · Fixed by #4674
Closed

format= argument to IDateTime() #2402

franknarf1 opened this issue Oct 5, 2017 · 1 comment · Fixed by #4674

Comments

@franknarf1
Copy link
Contributor

My current route is...

library(data.table)
IDateTime(as.POSIXct("20171002095500", format = "%Y%m%d%H%M%S"))

#         idate    itime
# 1: 2017-10-02 09:55:00

but it would be nice to directly do IDateTime("20171002095500", format = "%Y%m%d%H%M%S") since my approach seems hacky and I am wary of POSIXct getting up to timezone shenanigans that I have no interest in.

@MPagel
Copy link

MPagel commented Jul 15, 2022

see also #5006

@jangorecki jangorecki modified the milestones: 1.14.9, 1.15.0 Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants