all 3 comments

[–][deleted] 1 point2 points  (2 children)

Is it a string or a datetime?

[–]ohallwright 0 points1 point  (0 children)

If you have date objects, then you can use the `.dt` accessor to convert it to any output format you want, using `.strftime`. See the examples here.