SpearDates contains date convience routies reducing common that can be repeated in a projects.
In order to get the Month, Day and Year of a date we need to
This code can be simplifed to
let currentYear = Date().toMondthDayYear().year
|Last commit: 2 weeks ago|
A date can be created by using the percentage of time passed in a day.
Example 0.5 would be 12pm