add datetime python compute example