added on missing datetime function onto settings