Working with Date & Time, Formatting Date & Time values, Time Transformation

preview_player
Показать описание
Date time module in Python for working with date and time.
#datetime #formattingdateandtime #timetransformation

L J INSTITUTES OF ENGINEERING & TECHNOLOGY
SUBJECT:-PYTHON FOR DATA SCIENCE
UNIT 3- GETTING YOUR HANDS DIRTY WITH DATA
TOPIC NAME:- WORKING WITH DATETIME, FORMATTING DATETIME VALUES, TIME TRANSFORMATION
IMPORTANT QUESTIONS / MCQS

1. ___ library is to work with date and time.
(a) date
(b) time
(c) datetime
(d) date_time
2. ___ is used to obtain current date and time.
(a) current()
(b) now()
(c) current_datetime()
(d) datetime_now()
3. Which annotation is used to display only minutes?
4. Which annotation is used to display only seconds?
5. Which annotation is used to display only days?
6. Which annotation is used to display only month?
7. Which function is used to perform time transformation?
Рекомендации по теме
join shbcf.ru