improved the formatting of the date time string
moving mode setup to the other mode setups