Fixed date printing error