Skip to content

Instantly share code, notes, and snippets.

@Ventsislav-Yordanov
Created January 10, 2019 01:26
Show Gist options
  • Save Ventsislav-Yordanov/8519fc08c53c8d4f399d6b5d713bd22d to your computer and use it in GitHub Desktop.
Save Ventsislav-Yordanov/8519fc08c53c8d4f399d6b5d713bd22d to your computer and use it in GitHub Desktop.
import datetime # importing the "datetime" module
def print_current_date():
current_date = datetime.datetime.now().date()
print(current_date)
print_current_date()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment