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

How to know for a date/time if daylight saving time is in effect? #235

Open
manfredlotz opened this issue Apr 2, 2018 · 0 comments
Open

Comments

@manfredlotz
Copy link

I didn't find a way to know for a DateTIme if daylight saving is in effect or not.

C has this in time.h

int    tm_isdst Daylight Savings flag.
   The value of tm_isdst shall be positive if Daylight Savings Time is in effect, 0 if Daylight Sav‐
   ings Time is not in effect, and negative if the information is not available.

Is there anything I just overlooked?

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