Fix the output date format. It was printing minutes instead of months.