String To Date Format Python Function Syntax