Toggle navigation
Create account
Sign in
Create flashcards
Courses
lib - datetime
lib - datetime
0
28 flashcards
sir
start learning
download mp3
×
Perfect for auditory learners
–
Turn your words in an audiocourse and learn:
while riding on the bus or in a car
walking the dog
waiting in line
before bedtime
This function is only available for premium users.
activate a premium account
sample recording
print
×
Perfect outside
–
Print your words:
as a handy list
as flashcards to be cut out
This function is only available for premium users.
activate a premium account
an example of a printout
play
test yourself
Question
Answer
Class creating datetime objects.
start learning
datetime
Class for measuring time delta.
start learning
timedelta
Method which returns current date & time.
start learning
datetime. today() / datetime. now()
Attributes of datetime object. Which you can use to get concrete time unit.
start learning
. year,. month,. day,. hour, minute, second etc...
Weekday, short version
Wed
start learning
%a
Weekday NAME, full version
Wednesday
start learning
%A
Weekday as a number 0-6, 0 is Sunday
3
start learning
%w
Day of month 01-31
31
start learning
%d
Month name, short version
Dec
start learning
%b
Month name, full version
December
start learning
%B
Month as a number 01-12
12
start learning
%m
Year, short version, without century
18
start learning
%y
Year, full version
2018
start learning
%Y
Hour 00-23
17
start learning
%H
Hour 00-12
5
start learning
%I
AM/PM
PM
start learning
%p
Minute 00-59
41
start learning
%M
Second 00-59
8
start learning
%S
Microsecond 000000-999999
548513
start learning
%f
UTC offset
100
start learning
%z
Timezone
CST
start learning
%Z
Day number of year 001-366
365
start learning
%j
Week number of year, Sunday as the first day of week, 00-53
52
start learning
%U
Week number of year, Monday as the first day of week, 00-53
52
start learning
%W
Local version of date and time
Mon Dec 31 17:41:00 2018
start learning
%c
Local version of date
12/31/18
start learning
%x
Local version of time
17:41:00
start learning
%X
A % character
%
start learning
%%
Create flashcards
You must sign in to write a comment
×
Main
Progress bar
Clock
Enforce good response
Content
Text
Example text
images
Recordings
Example recordings
recordings native
Grammar highlighting
Retyping options
ignore:
spaces
diacritics
brackets
punctuation
capital letters
no article
combine shortcuts
order
report an error
Thank you for reporting :)
1
2
3
4
check
next
I'm right ↑
(
Tip:
Pressing
enter
considers the answer to be
wrong
Tip2:
in order to see the question again, click on the notepad )
revise
I knew it
show answer
check
next
I'm right ↑
(
Tip:
Pressing
enter
considers the answer to be
wrong
Tip2:
in order to see the question again, click on the notepad )
Well done, you're doing fine:)
The creator of these flashcards is Sir.
Click here to create your own download :)
If you prefer ready, try out our professional courses.
English Collocations
try it for free
Cockney
try it for free
Repeat all
Repeat difficult flashcards
End of round
1
Summary
round
I knew it
revise
1
(
)
(
)
Next round
revise what you didn't know
`
1
2
3
4
5
6
7
8
9
0
-
=
Nederlands, Vlaams
English
American English
Français
Deutsch
italiano
Norsk
język polski
português
русский язык
español
Svenska
українська мова
gjuha shqipe
العربية
euskara
беларуская мова
български език
català, valencià
中文, 汉语, 漢語
hrvatski jezik
český jazyk
dansk
Esperanto
eesti keel
føroyskt
suomen kieli
galego
ქართული
ελληνικά
עברית
हिन्दी, हिंदी
magyar
Íslenska
Bahasa Indonesia
日本語, にほんご
ಕನ್ನಡ
Қазақша
한국어, 韓國語, 조선어, 朝鮮語
latine
latviešu valoda
lietuvių kalba
Lëtzebuergesch
македонски јазик
bahasa Melayu, بهاس ملايو
Malti
Papiamento
فارسی
Português brasileiro
limba română
rumantsch grischun
Gàidhlig
српски језик
slovenský jazyk
slovenski jezik
ไทย
Xitsonga
Setswana
Türkçe
اردو
Tiếng Việt
isiXhosa
ייִדיש
isiZulu
q
w
e
r
t
y
u
i
o
p
[
]
\
a
s
d
f
g
h
j
k
l
;
'
z
x
c
v
b
n
m
,
.
/
Ctrl + Alt
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
×
Select the correct answer
create a new test
×
Pair all the words as quickly as possible!
0
steps
New game:
4x3
5x4
6x5
7x6
×
Log in
Log in
Sign in
Login or Email
Password
Sign in
Forgot your password?
Don't have an account?
Log in
Log in
Create account
Get Started with this Free Course!
No Cost. No Obligation. No Spam.
Your email address
Create account
Already have an account?
I accept the
terms
and
privacy policy