read date format from settings