Python String Format Datetime C