Fixed #99 date creation utility with date as number