Formating the date without the conf file