repl.it
@Khakasa/

datetimeskillcrush

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
import datetime

current_time = datetime.datetime.now()

print(current_time.strftime("%m/%d/%y"))
print(current_time.strftime("%B %d, %Y"))
print(current_time.strftime("%B %d, %Y %I:%M %p"))