format control test added for Date type