render date in ui