Datetime string formatting in Python | convert datetime object into strings and vice versa

preview_player
Показать описание
Important Links -
Datetime module :
Datetime string Notes:

Datetime module repo:

Datetime module provides methods like strptime to convert strings into datetime objects. Datetime objects could be converted in datetime strings by f strings and with strftime method also which we will learn in this video.

Timestamps:

00:00 Introduction
01:14 datetime objects into strings
04:50 strftime
05:45 datetime f string
06:52 strings into dateime
09:50 strptime
10:40 isoformat
12:30 fromisoformat
Рекомендации по теме