Set datetime on start