Date and Time

We had to type code for the date and also the time. We use different types of writing the time .  For the date we use / and for the time we use : .  I personally thought it was very easy to do.

This is the code I written :

Capture 3

 

This is the result of the code:

Capture 4

Leave a Reply

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