As 23 date format

Use Switch case.