Why use Arrow?
Do we really need another library to manipulate date and times in Python? Arrow answers the question that no one asking with an empatic YES! As someone who fights adding senseless libaries I decided to dig in an see is Arrow worth it.
Easy enough to get the UTC time but this time means little to me so lets try and covert to local times. Arrow does this with their to function which you can pass timezone name or tzinfo.
We can shift our time as well by whatever increment we would like.
I have an event 3/25/21 at 4PM my local time lets try and create and event.
Well I've actually created a event at 4PM UTC time which isn't what I wanted. We can easily use arrow's replace function to correct the timezone.
Lets search a string and try to get out a date.
Create Like a DateTime
Can it replace time?
I import time every now and then to see execution time and such.
I think I could actually see myself using the library in my scripts from time to time. It does have some nice features that really seem to make handling dates and timezones much easier. I vote yes to arrow what are you thoughts on the library?