Date format using settings.get_L10n_date_format()

Okay will assign it before try block.