Fixed a date bug in the code.