1

I would like to have the following funcitonality some_function('2018-06-05 00:00:00') and it should return "%Y-%m-%d %H:%M:%S" which is the format of the input date.

Is there a function in dateutils.parser or in some other library that I can use?

Aran-Fey
  • 39,665
  • 11
  • 104
  • 149
Imad
  • 2,358
  • 5
  • 26
  • 55

0 Answers0