Python DateTime Module||Working with date and time ||Python Programming For Begginers Part -33

preview_player
Показать описание
The above video is about datetime module in python .If you have any doubts reach me out at the comments section.
The strftime format codes are:
Directive Description
%a Weekday, short version
%A Weekday, full version
%w Weekday as a number
%d Day of month
%b Month name, short version
%B Month name, full version
%m Month as a number
%y Year, short version, without century
%Y Year, full version
%H Hour
%I Hour 00-12
%p AM/PM
%M Minute
%S Second
%f Microsecond
%z UTC offset
%Z Timezone
%j Day number of year 001-366
%U Week number of year, Sunday as the first day of week, 00-53
%W Week number of year, Monday as the first day of week, 00-53
%c Local version of date and time
%x Local version of date
%X Local version of time
Try these out in your python editor and if you get any obstacles or you have any doubts with the codes reach me at the commenys section.
Рекомендации по теме
join shbcf.ru