Date and Time Tutorial

We created a code using the string datetime.now() in order to gain access to the current day and time in order to obtain information on the current date and time. We then created string of information which resulted in showing us the date of the day done as well as the time it was completed in. The results showed us the current date and time:

 

code for time and date

 

result for time and date

Leave a Reply

Your email address will not be published. Required fields are marked *