Date Insert Syntax Python If Functions Matlab