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

Add option to create FileTime from custom date #73

Open
wldevries opened this issue Nov 18, 2021 · 0 comments
Open

Add option to create FileTime from custom date #73

wldevries opened this issue Nov 18, 2021 · 0 comments

Comments

@wldevries
Copy link

I'd like to have an option to create a FileTime struct for a specific date. Since FileTime can only be constructed from a SystemTime instance there is no way to initialize it with a specific date (unless I miss something).

API could look like that of chrono:

FileTime::ymd(2021, 11, 18).and_hms_milli(17, 00, 12, 123);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant