Python: Problem GET /crm/v3/objects/companies return datetime.datetime() object

Api return datetime.datetime object like below:

{'source_id': 'userId:11135591',
 'source_label': None,
 'source_type': 'CRM_UI',
 'timestamp': datetime.datetime(2022, 7, 18, 19, 9, 37, 153000, tzinfo=tzutc()),
 'updated_by_user_id': 11135591,
 'value': 'Instagram;Texting;Event Planer;Gift Cards'}]

Instead to be:

‘timestamp’`:

2022-7-18T19:9:37.615Z

HI, @Shimi :waving_hand: Thanks for reaching out. Can you provide any additional details, code snippets, or screenshots to help provide our community with additional information, please?

Hey, @taran42 @JBeatty, do you have any thoughts on specifically what else @Shimi can include to help with troubleshooting via the community?

Best,

Jaycee

@Shimi I’m not sure what your code looks like, but below are some resources you can use to format your

datetime

.

Python DateTime Format using Strftime() – PYnative.

https://www.w3schools.com/python/python_datetime.asp