I wanted the output to be yyyy-mm-dd
only, without the time. this is what i tried:
Begindate = datetime.strptime(Begindatestring, "%Y-%m-%d")
print(Begindate)
thank you
I wanted the output to be yyyy-mm-dd
only, without the time. this is what i tried:
Begindate = datetime.strptime(Begindatestring, "%Y-%m-%d")
print(Begindate)
thank you