Friday, January 24, 2020

Super Simple Date Time Program

This is my first simple program of the night.

First I started with:

import datetime
print(datetime.datetime.now())

Then I added some text and a variable:

import datetime
dtn = datetime.datetime.now()
print("The date and time is:", dtn)

When run the program will print:

The date and time is: 2020-01-24 13:10:11.983919

No comments:

Post a Comment

Project #8 - Stock Tracking Graph

For my 8th project, I made a program that pulls stock data from Yahoo Finance and displays it in a graph. For this example, I chose GOOG whi...