JeffKelly1
6 years agoQrew Member
Re: How To Format A Date Returned From API?
Thanks! I was able to convert the other way since I'm comparing dates from 2 different sources.
Am I missing something? Since I don't need the time of day I am getting matching dates, but this might not work if I needed the time of day.
------------------------------
Jeff Jeff
------------------------------
datetime.utcfromtimestamp(float(str(my_date)[:10])).strftime('%m/%d/%Y')
Am I missing something? Since I don't need the time of day I am getting matching dates, but this might not work if I needed the time of day.
------------------------------
Jeff Jeff
------------------------------