Ultimate Guide to Datetime! Python date and time objects for beginners

Ultimate Guide to Datetime! Python date and time objects for beginners

Python Simplified

2 года назад

49,548 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Aziz Miya
Aziz Miya - 03.03.2022 13:49

Hi There. Just a comment. Regarding printing format strings, I gonna say this is better and easier: { print(f"Today is: {today}") }

Ответить
jeffegg2
jeffegg2 - 14.09.2023 19:47

😍

Ответить
peace
peace - 10.09.2023 08:49

🤯🤯🤯🤯🤯

Ответить
Nilufar Khodapanah
Nilufar Khodapanah - 07.08.2023 23:20

one of the bests, thanks
and I have a question, what if we want to prompt the user for time or date?
I really have a tough time struggling with the errors. :(

Ответить
Rohan Chess
Rohan Chess - 28.07.2023 13:57

Clean and fast code, I love it. Belated happy birthday too XD

Ответить
chalmer Ditmars
chalmer Ditmars - 29.06.2023 15:09

Thank you so much!!! I have been struggling with writing the middle of a program for 2 months. After following the steps in your video and struggling with line 50 to discover my system had to have string properties assigned to add timezone offset I went to my program assigned my date object as a string and my program worked. So simple but so much grief. Would have never found it without your video!!!

Ответить
DJ
DJ - 25.05.2023 10:40

Happy Belated Birthday :)

Ответить
Amanda Kleisnerová
Amanda Kleisnerová - 19.05.2023 19:46

The Chernobyl disaster occured on ...... New York time, Tokio time, Paris time?

Ответить
Brent Findley
Brent Findley - 04.05.2023 00:16

great tutorial, you earned a sub!

Ответить
Bahodir Siddiqov
Bahodir Siddiqov - 29.04.2023 16:17

respect☺☺

Ответить
Ismael Santana
Ismael Santana - 24.04.2023 06:00

awesome! could you make a video talking about time series? thanks!

Ответить
Siby Mohamed
Siby Mohamed - 19.04.2023 03:33

thanks A LOT TEACHER GOS BLESS YOU Awesonne from SENEGAL

Ответить
Academia CS1
Academia CS1 - 16.04.2023 10:11

And that voice!!

Ответить
Chris Keo
Chris Keo - 14.03.2023 22:02

Can I take you on date? You can use your date picker

Ответить
Luveen Wadhwani
Luveen Wadhwani - 20.02.2023 05:19

Likes if you're here at almost next_year 😂

Ответить
Марк
Марк - 19.02.2023 12:48

Maria, you are great! 👍

Ответить
MS7
MS7 - 29.01.2023 00:58

very helpful video, thanks for your help

Ответить
Julius Wanyama
Julius Wanyama - 12.11.2022 18:38

I am binging on these tutorials😊

Ответить
Sherry AB
Sherry AB - 11.11.2022 00:31

Wow! So glad I found your channel! This is super helpful!

Ответить
MarkoShiva
MarkoShiva - 29.10.2022 11:16

Mars ruske prostitutke. Misim koja jos to retardirana devojka ce sebe nazvati sha marija. Osim kurva mala kršovska.

Ответить
Wyatt-Barton
Wyatt-Barton - 07.10.2022 07:35

Bingo! I just spent so much time trying to figure this out and your video cleared it up really quickly. Thanks

Ответить
Shane Cassidy
Shane Cassidy - 06.09.2022 11:38

How can you work out the age of a person from their original birthdate to the current date now? So for example, 33 years, 54 days old.....

Ответить
MrPioneer7
MrPioneer7 - 19.08.2022 12:07

Thank you, very informative and helpful

Ответить
ezz eldin
ezz eldin - 24.07.2022 20:37

awesome!

Ответить
Abdul Basit Minhas
Abdul Basit Minhas - 18.07.2022 20:31

yes, we can do!
from datetime import datetime
user = user.datetime()
start = user.strftime("%m/%d/%Y/%A, %H:%M:%S:%p")
print("Date & Time:",start)

your tutorial is easy to understandable :) and thanks for this.

Ответить
Scars Lim
Scars Lim - 15.07.2022 18:48

Who will help me with my timezone assignment, new to python.

Ответить
Martin B.
Martin B. - 07.07.2022 17:37

Great videos keep it up! :)

Ответить
AnonymousUser
AnonymousUser - 06.07.2022 00:07

"Round brackets" => parentheses

Ответить
Jerry Wang
Jerry Wang - 20.06.2022 17:29

I had difficulty converting integer timestamp into readable time, I finally used pandas to do the conversion for me.

Ответить
mChess
mChess - 16.06.2022 10:26

I used datetime module several times in my python projects but always looking for solutions to specific situations and I've never tried to arrange my knowledge. Thanks a lot for this video. It is really helpful. I discovered your channel few weeks ago and it will surely be one of my favourites

Ответить
pravin sathe
pravin sathe - 09.06.2022 16:04

Write a python function to get well formatted date. Input date format to the function is "DD/MM/YYYY" and the output format must be "DD Month YYYY".
Eg. If "15/05/1995" is the input to the function then it must return "15 May 1995" string.
You must use following MONTH list in your code.


MONTH = [None, 'Jan', 'Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']


Test Cases (INPUT=>OUTPUT)
1. '01/01/2001' => '01 Jan 2001'
2. '20/5/2010' => '20 May 2010'
3. '9/9/2021' => '9 Sep 2021'

Ответить
Steven
Steven - 02.06.2022 06:02

Very good presentation. Thanks

Ответить
Donesy
Donesy - 24.05.2022 03:36

Funny I was watching this (almost) on your birthday! Happy birthday!

Ответить
Jong Cheul Kim
Jong Cheul Kim - 23.05.2022 16:07

Happy birthday^^ Thank you so much for lots of great videos!!

Ответить
fnuker
fnuker - 22.05.2022 20:04

Happy birthday :* thanks for tutorials ;)

Ответить
Slon Beskonechen
Slon Beskonechen - 18.04.2022 20:49

Your tutorials very clear and understandable! Thank you!

Ответить
FreshWood 92
FreshWood 92 - 15.04.2022 00:40

Really Nice!! How would you accomplish the task of rounding time to the next 15mins?

Ответить
branded kamina
branded kamina - 20.03.2022 22:03

please kivy tutorial

Ответить
branded kamina
branded kamina - 20.03.2022 05:49

can we do python programming and app development in mobile ☹️I don't have laptop

Ответить
branded kamina
branded kamina - 20.03.2022 05:48

my question you are hacker programmer or developer ? 🙂

Ответить
branded kamina
branded kamina - 20.03.2022 05:47

please 🥺 complete python tutorial for absolute beginners 🥰your talking way is easy and understandable
one part please 🥺

Ответить
Babu
Babu - 13.03.2022 07:16

Hi

Ответить