In 'strftime,' the 'f' is for 'format,' and in 'strptime,' the 'p' is for 'parse.' Knowing this helps you remember them better. Great video by the way.
Awesome tutorial, Corey. Datetimes is something I've never been good at, for lack of studying. But, rarely does anyone do a thorough tutorial on in, and that's where you've done a great job! Thanx
I am new to python. I have been stuck on a datetime problem for over a week now. I have been googling over and over, reading countless forum questions, etc. I watched this video and my problem was solved! Thank you!!!
This might not mean much to you, but honestly, I'd like to thank you for taking time out of your probably cluttered schedule to help out new programmers like my self every day. Please keep doing what your doing, and know that yes, you ARE in fact impacting many, many peoples lives. I hope to see more OOP content soon as well as some more helpful programming terms! :)
I'll be recording more OOP videos this weekend and hopefully will release some next week. I've been meaning to put together a video on threads and multiprocessing, but there are a few other videos I have in my queue before that. I will try to get around to those as soon as possible though! Thanks.
hey Corey ! I just wanted to tell you that I immediately pause watching this video at minute 6:30 because you said your birthday is on 24 September which is the same with me. I'm just happy to have a same birthday date with an amazing person like you :) keep up the good content. I'm younger btw hehe
Love your python tutorials. By far the best videos on the youtube IMO. Please keep the python videos coming. Your OOP tutorials has helped me understand classes very clearly. Thank you!
Excellent videos. I am new to python. Used to do engineering/ scientific programming many many (*n! ) years ago. Used Fortran at that time. I am really enjoying learning Python with such clear videos and a user friendly language. May you "Live long and prosper " !!!!!
Wowwwww this is my first encounter with your videos... perfect format.. you are saying everything needed.. this is so perfect for how I learn... I hope you have more videos like this but I will watch this first till the end. Subbed !!!
love these videos, I'm in software development and been following all your videos since i started and they greatly improve my understanding .thanks for the video's
Hi Corey, Even 3.5 years later. I found this to be the best explanation after searching around for 2 hrs.... Thank You :) Can you please make the video on Arrow though :)
Hi Corey and thank you for another great tutorial. I wish you mentioned daylight savings as well, I am sure many developers would have found it useful :)
I'm not getting the conversion error at 21:15 (when trying to convert naïve datetime to us time zone), I assume some improvisation in datetime module did happened in recent years, your views on this? @Corey Schafer
Had the same question as you! In the Python documentation: docs.python.org/3/library/datetime.html "Changed in version 3.6: The astimezone() method can now be called on naive instances that are presumed to represent system local time."
Very helpful, I’m writing a lot of stuff involving scheduling time lapse sequences and downloading files from a server. For my time lapse sequences I want the local time and UTC so that they can be inserted as a time stamp in the time lapse images. I’ve already fixed the UTC part but watched this for help.
This video was awesome; thank you! I'm sure the help file will tell us how to grab the individual time components: date, hour, minute, second. In LabVIEW and other programming environments, there are functions that give you the time from a fixed point in the past as a reference point. I think the date is sometime in the January 1st 1980's, expressed as a number of seconds. It's the most numerically compatible way to deal with dates. I suspect Python has a similar time function too.
In 'strftime,' the 'f' is for 'format,' and in 'strptime,' the 'p' is for 'parse.' Knowing this helps you remember them better. Great video by the way.
Brilliant. You should have an Einstein award. Thanks for helping me remember it. I'll never forget how to understand now.
Legend
Do u know how to sort date as earliest and latest .also how to convert to quarter and month
and the 'str' is for 'string'
Ha, i used to think 'f' stands for 'from' (like 'get string from time') but still couldn't come up with what 'p' stands for 😅
Pride of you Corey! You're one of the few ones who do no sell shitty online courses but only share your knowledge with us
THIS! is the tutorial I've been looking for... makes timezone usage clear, and removes lots of confusion and uncertainty. Thumbs Up!
never commented on any video but trust me you are best at what you are doing. Great work. you make the topics crystal clear.
Awesome tutorial, Corey. Datetimes is something I've never been good at, for lack of studying. But, rarely does anyone do a thorough tutorial on in, and that's where you've done a great job! Thanx
8 years later and this is still so freaking useful!
I am new to python. I have been stuck on a datetime problem for over a week now. I have been googling over and over, reading countless forum questions, etc. I watched this video and my problem was solved! Thank you!!!
Even though this is an older video, I found it to be a great help in learning the datetime library. Thanks for the video.
Thank you so much. Within the first 5 mins I was able to gather a lot of useful information that I can already apply to my code. THANK YOU
This might not mean much to you, but honestly, I'd like to thank you for taking time out of your probably cluttered schedule to help out new programmers like my self every day. Please keep doing what your doing, and know that yes, you ARE in fact impacting many, many peoples lives. I hope to see more OOP content soon as well as some more helpful programming terms!
:)
That means more than you know. Thanks a lot... I really do appreciate it.
Corey Schafer Glad to hear that! I'd love to see some more OOP videos as well as a video on threads from you.
I'll be recording more OOP videos this weekend and hopefully will release some next week. I've been meaning to put together a video on threads and multiprocessing, but there are a few other videos I have in my queue before that. I will try to get around to those as soon as possible though! Thanks.
Yes, I even teach other programmers (in past), and Teacher here is really giving me so much knowledge quickly.
Brilliant. Watched a few tutorials ... and the framework and concepts only came to light and shone through here. Credit to you. Thank you.
Thank you very much for the explanation. This is the best video about datetime I've seen so far, keep it up!
Happy Birthday, Corey, Just now I have seen and found your DOB (9/24) when you explain about DateTime. It is a coincidence.
Man your the best. please keep the videos coming! For some reason I learn well from you, more so than anyone else on youtube.
Love the explanation. Simple and easy to follow. I was confused about datetime until i saw ur video. Just wanted to say thanks
hey Corey ! I just wanted to tell you that I immediately pause watching this video at minute 6:30 because you said your birthday is on 24 September which is the same with me. I'm just happy to have a same birthday date with an amazing person like you :) keep up the good content. I'm younger btw hehe
ive been looking everywhere for good information like this, thank you
Love your python tutorials. By far the best videos on the youtube IMO. Please keep the python videos coming. Your OOP tutorials has helped me understand classes very clearly. Thank you!
Excellent videos. I am new to python. Used to do engineering/ scientific programming many many (*n! ) years ago. Used Fortran at that time.
I am really enjoying learning Python with such clear videos and a user friendly language. May you "Live long and prosper " !!!!!
You are quickly becoming my real teacher
Awesome!!! Clear, concise, and quick. As a person new to python, this is exactly what I needed. It will probably take me a couple viewings. THANK YOU
This is another amazing video! I am so glad you are making these videos to let people learn about Python!
Wowwwww this is my first encounter with your videos... perfect format.. you are saying everything needed.. this is so perfect for how I learn... I hope you have more videos like this but I will watch this first till the end. Subbed !!!
This is the best video about datetime I've seen so far, keep it up....
I love these videos, this one is long and still is just an overview of what can you do with dates and times on Python.
BRO U LITERALLY JUST SAVED MY LIFE
Thanks, man, you reeeally helped me. Only after watching your video I was able to understand the datetime object properly.
love these videos, I'm in software development and been following all your videos since i started and they greatly improve my understanding .thanks for the video's
8 years still one of the best explanation on internet
Extremely helpful video !
Wow, this is one hell of a helpful video. Corey, thank you so much for this. So incredibly helpful and concise. You rock!
Hi Corey, Even 3.5 years later. I found this to be the best explanation after searching around for 2 hrs.... Thank You :)
Can you please make the video on Arrow though :)
THANK you! The way of you teaching things and clear explanation it's so good. Wish you all the best!!
Great! This is an excellent video for me. It helped me understand the intricacies of working with datetime and timezones. Much appreciated.
I wonder why someone would have disliked this video 😳
Anyways, love your amazing tutorials, pls keep it up 🤗👍
Corey: Awesome video on datetime module. You have cleared a lot of my doubts. Thank you very much.
That was so comprehensive.Thanks for the toturial.
Been looking for some way to do time math and now i found it thank you sir
this is a good 27 mins of my learning thank you sir
If I watched this video 8h ago I could save 8h of my life :/ very clearly explained, I appreciate.
Amazing explanation 🔥 I really impressed by your teaching method 🔥✌️
Thank you for showing this. I needed to learn this for my understanding of Python dates. This came at exact right time.
Excellent tutorial, very clear and concise and has helped to me to better understand a very "grey area" subject. Thank you
Hi Corey. This video is so good Keep up the good work
thank you! from philippines here
great video, this helped me a lot, thanks, keep doing a videos like this, you are best )
Great refresher! Thank you!
Very interesting time and date zone formatting. (straight to the point saving your time!!) Great
As always, the best tutorial for the topic. Thanks
Awesome tutorial! Highly recommended! Perfect speed on the information to really hammer it in.
Thank you so much.
the lesson is very helpful, thank you very much. it helped me a lot to understand the topic
Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.
Hi Corey and thank you for another great tutorial. I wish you mentioned daylight savings as well, I am sure many developers would have found it useful :)
this video needs more views
Enjoyed Every Bit of video.
Thanks Man
excellent information in very precise manner, Stay Blessed brother !!
THANK YOU!!! Your tutorial is super helpful!!! You're amazing at explaining this stuff!
Thank you... This video is helpful.... Gonna watch it again sometime.....
Good look at datetime , I will use this video as a reference when neeeded.
Thanks a lot Sir. I was searching for this.
Happy Birthday! Thank's for the nice and time saving tutorial!
You made this on 26th July 2016 and I am watching it on same date with different year :)
just started watching your videos, and I'm learning a lot! thanks Corey!
I'm not getting the conversion error at 21:15 (when trying to convert naïve datetime to us time zone), I assume some improvisation in datetime module did happened in recent years, your views on this? @Corey Schafer
Had the same question as you!
In the Python documentation:
docs.python.org/3/library/datetime.html
"Changed in version 3.6: The astimezone() method can now be called on naive instances that are presumed to represent system local time."
Ďakujem veľmi pekne za video. Super vysvetlené. Thank you very much for the video. Super explained.
Awesome tutorial. Leaned a lot. Thanks, man.
Simple and useful! You're a legend Corey!
Thank you so much for your detailed explanation
Very helpful, I’m writing a lot of stuff involving scheduling time lapse sequences and downloading files from a server. For my time lapse sequences I want the local time and UTC so that they can be inserted as a time stamp in the time lapse images. I’ve already fixed the UTC part but watched this for help.
That's superb , it was too much easy and informative
Thanks for very informative and clearly explained videos. 5 Thumbs Ups from me!
Great, You nailed it
It’s so helpful thank you
Fantastic reference! Thank you!
Thanks excellent tutorial! Gathered a lot of information watching this.
Great detailed explanation, keep going 👍🏼
Man, this was so helpful! Thank you!
Thanks mate, this was of really great help.
Thank you. My goto channel for py modules.
Thank you Corey!
Thanks alot Corey!.. may you have great success ahead!
thanks, you really helped me understand how it works
This was great ! :) i solved a date time calculus very fast , thanks to this :) ;)
Great video, helped on part of my project.
Nice video Corey, very instructive. And you're a Libra, just like me. :)
Thank you very much for a very good tutorial!
Thanks a lot, Your Video helped me a lot . i thought datetime module was difficult, but it was not that hard at all.. thank you so much
Corey Shafer you are good!!!
Hello Corey, thanks very much for this video. it has helped a lot in the project i am working on.
I really love this video, thank you so much for the info!
Thank you for this, great video!
Thank you for your clear and helpful video. This really helps me in my Programming for Business class!!!
yr the boss of tutorials =D
Bahut sahi sir
Thanks very much ❤️❤️
Thank you very much for this video! It was really educational and I learnt a lot! :)
Very interesting video, it has been a great help for me. Thanks for sharing...
This video was awesome; thank you!
I'm sure the help file will tell us how to grab the individual time components: date, hour, minute, second. In LabVIEW and other programming environments, there are functions that give you the time from a fixed point in the past as a reference point. I think the date is sometime in the January 1st 1980's, expressed as a number of seconds. It's the most numerically compatible way to deal with dates. I suspect Python has a similar time function too.
As always: amazing!
excellent explanation !!
This is great. The datetime module is surprisingly confusing.
great explanation! thank you!