Fixed 0 error in dates