<jupyter_start><jupyter_text>A date in Python is not a data type of its own, but we can import a module named datetime to work with dates as date objects.<jupyter_code># printing the current date and time

import datetime

x = datetime.datetime.now()
print(x)

# returning the specific things

import datetime

x = datetime.datetime.now()

print(x.year)
print(x.month)
print(x.day)
print(x.strftime("%A"))
print(x.strftime("%d"))
import datetime

x = datetime.datetime(2018, 6, 1)

print(x.strftime("%B"))<jupyter_output>June
{'fraction_non_alphanumeric': 0.12, 'fraction_numerical': 0.011428571428571429, 'mean_word_length': 5.414634146341464, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '323204', 'license': 'Apache-2.0', 'n_tokens_mistral': 187, 'n_tokens_neox': 177, 'n_words': 58, 'path': '10. Date Time.ipynb', 'repo_name': 'coderscluster/Python_Basics', 'size': '525'}