티스토리 뷰

728x90

https://stackoverflow.com/questions/28154066/how-to-convert-datetime-to-integer-in-python

 

How to convert datetime to integer in python

How can I convert YYYY-MM-DD hh:mm:ss format to integer in python? for example 2014-02-12 20:51:14 -> to integer. I only know how to convert hh:mm:ss but not yyyy-mm-dd hh:mm:ss def time_to_num(

stackoverflow.com

 

728x90
댓글