change datetime code for screenshots