Tag

datetime

1 guide filed under this subject.

How To Remove Leading Zeroes With Python Dates

How do you remove leading zeroes in Python formatted dates? I have been sending data through to a Suitescript API endpoint and have received the error that the date information I am sending through needs to be of the format D/M/YYYY , here’s the error specifically: Currently, the way the date is formatted and sent from my Python code is as follows: The f-string enables me to construct the date…

Read guide