As 23 date format

Can you refactor this?