Added a few things to date class