I search an awesome Python library date like Moment.js. Do you know some?
I want especially a library that can do conversions like this: 09/25/2012 00:00 - 09/25/2012 13:00 to 09/25/2012 00:00 - 13:00.
Pandas. Pandas is one of the libraries powered by NumPy. It's the #1 most widely used data analysis and manipulation library for Python, and it's not hard to see why.
Pandas (Python data analysis) is a must in the data science life cycle. It is the most popular and widely used Python library for data science, along with NumPy in matplotlib.
Python's built-in datetime library is one of the most common modules to manipulate date and time object data. You can create date and datetime objects, loop through a range of dates, parse and format date strings, and more.
Some Python libraries inspired by Moment.js:
Arrow and Delorean seem a bit more mature, although I have not really used any of them extensively.
datetime and it comes with the standard library. And here is Doug Hellman's introduction to the "module of the week".
You can try these 3rd party packages:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With