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

Can you add more date math examples to readme? #93

Open
bbookman opened this issue Mar 30, 2018 · 2 comments
Open

Can you add more date math examples to readme? #93

bbookman opened this issue Mar 30, 2018 · 2 comments

Comments

@bbookman
Copy link

I'm dim. I'm not 100% sure how to use this library to do something like (I'm shortcutting the syntax)

let christmas = Date(year: today().year, month:12, day:25)
let daysUntilChristmas = christmas - today ????? //give us some examples please

@naoty
Copy link
Owner

naoty commented Apr 1, 2018

There is also a Xcode playground to understand how to use this library.

@bbookman
Copy link
Author

bbookman commented Apr 1, 2018

Thanks, still documentation is the best option

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

2 participants