Adding dateformat header acording Enviroment settings