 Now we'll take a look at clock underscore zero one dot pi Having the current time in the Unix epic format is a good start, but it's not very helpful It doesn't tell me whether I have to get ready to head out to meet my friend or not I have to do some more Conversion to get to where I can make decisions like that. So We need to make some improvements make some changes there is online and many epic and Unix time stamp converters These this number of seconds is also called a time stamp very often and these websites Provide a helpful way to conveniently convert from a time stamp to a human readable date Here's one that I like that I use for this purpose It's nice because you can see what the current Unix time is You can read it off as it takes over You can also copy and paste any time stamp you have and get out a human readable date and see what it is So for instance, we can go to our output if we run Clock zero zero we can copy and paste the output Put it here and run it and we can see oh look here's exactly the month The day the year the hour of the minute the second that this time stamp represents so that's very useful and If you ever run across a date and you need to do just a quick conversion on a time stamp or two This is a great way to do it Unfortunately, this is not a great way if you have a clock that's spitting out time stamps You don't want to have to go and copy and paste to figure out what it's telling you each time Luckily you don't have to if we go back to our time package We can do a little bit more reading through the functions that are available to us One in particular is useful in getting human readable dates and times Instead of using time dot time we can do time dot c time so convert a time stamp That's what that c is short for The signature that it shows here the way to use the function is shorthand for Package is time the function is called c time and you have the parentheses after it The square brackets say that this argument Seconds you can put but you don't have to if you do put it then it'll convert whatever time stamp You give it to a date and time if you don't put it It'll just use the current date and time on your computer the current time stamp and Then it'll take that output and it'll give it to you in a form of day of the week month written out day of the month hour minute second and year so a very Natural way to read out this date This is cool. This becomes a lot more useful than getting a time stamp as an output And now that we've gone and done the work We can go back to our Function and in clock oh one instead of calling Time dot time to get our right now We can call time dot c time and we don't provide the number of seconds So it'll automatically go to our computer and look for what time stamp. It thinks it is right now Use that time stamp Convert it to get a nice human readable date and When we run it we see exactly what we'd hoped Day of the week month day of the month our minute second year Very nice to interpret now. We know what time it is and we know whether we need to leave now to get ready for our 2 o'clock appointment This is a big step in the right direction This is a good time to call out the difference here before time dot time Returned a float so it returned a floating point number C time returns a string strings and floats are Fundamentally different in how they're represented on the computer the fact that we can print them both and look at them is nice and under the hood The print function handles them separately so in order to get us that nice picture But it's worth calling out that to the computer. These are as different as apples and oranges a string is You can think of it as a list of individual characters So here in the C time documentation where it says Sun June 20. There's a capital S a lowercase u lowercase n a Space which is its own character capital J lowercase u lowercase n space to a zero and These Confusingly are the character numeral 2 and the character numeral 0 and these individual characters then are Stacked together in a list or a string of characters to form something that looks like text to us We'll play with this a little bit more And for us thankfully Python does a lot of work So we don't have to worry about exactly inside the computer what combination of ones and zeros goes into making these Be what they are but it is helpful to remember that strings and floats and Integers are all different to the computer because some functions Want an integer and some want a string and some want a float So we'll have to keep that in mind These different types of information are called types type is a special word in Computer languages and it means that there are different qualitatively different pieces of information We can go back and run our program again a couple more times just to see the seconds increment just a little bit and That's very satisfying to see it work So now we're getting close to having what could be a nice little clock