Date Parser Lambda Function In Python