Pasted
Archive
f string formatted datetime
killerbng
|
PRO
|
06/01/22 06:34:08 PM UTC
|
0 ⭐
|
940 👁️
|
Never ⏰
|
[]
Python
|
50 B
|
None
|
0 👍
/
0 👎
Raw
Download
Clone
Embed
Print
View
Choose
Raw
Download
Clone
Embed
Print
View
print(f"{(current_time := datetime.now()):%Y-%m-%d}")
Comments
Comments