Rewrote Date to make use of the time crate