<jupyter_start><jupyter_text>Datetime Module Applications   Section 6.4<jupyter_code>from datetime import datetime
import pytz
now = datetime.now()
print(now)
new_time = now.strftime("%H:%ML%S")
print("The time is:",new_time)
new_time1 = now.strftime("%m/%d/%Y, %H:%ML%S")
print("The date and time is:",new_time1)
tz_NY = pytz.timezone("America/New_York")
datetime_ny = datetime.now(tz_NY)
print(datetime_ny)<jupyter_output>2021-06-25 20:40:32.627231-04:00
{'fraction_non_alphanumeric': 0.1600877192982456, 'fraction_numerical': 0.06140350877192982, 'mean_word_length': 7.788461538461538, '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': '350081', 'license': 'Unlicense', 'n_tokens_mistral': 202, 'n_tokens_neox': 181, 'n_words': 32, 'path': 'CourseLessions/AdvancedTopics&DateTime/DatetimeModuleApplications.ipynb', 'repo_name': 'minefarmer/Complete-Coding-E-Degree', 'size': '456'}