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
When you try to get the end of the year by using let endOfYear = Date().end(of: .year) endOfYear is showing next year's end!!!!!
let endOfYear = Date().end(of: .year)
Date() => 2017-04-03T00:00:00.000+0400 output => 2018-12-31T23:59:59.000+0400
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When you try to get the end of the year by using
let endOfYear = Date().end(of: .year)
endOfYear is showing next year's end!!!!!
Date() => 2017-04-03T00:00:00.000+0400
output => 2018-12-31T23:59:59.000+0400
The text was updated successfully, but these errors were encountered: