 Okay today we're going to be looking at a little bit more at the date command That's what we previously looked at and what you can do is last time we looked at you know type date gives you the date I can do date plus percent capital Y and that gives me the year or H for the hour I can do things like F for date like this one thing I didn't mention if I do D it does the date like this because we talked about doing it with slashes So you can I was looking at the man page a moment ago and saw that option So that is the current date and time But what if you want to know something more what if you want to give it a certain date or time? You can do that so we can do date dash D and then give it a date and it's it amazes me how smart this is I can say one two 2016 and when I do that it gives me the date so I know that January 2nd 2016 was a it was a Saturday And the rest information I kind of know because I put it in there But you could also do let's you can give it time I can say 1 a.m. And there it puts in is 1 a.m. So let's say I wanted to epoch time the UNIX time stamp of January 2nd 2016 at 1 a.m. I can do this and it will output it as that or if I want to well This seems a little weird you would just type that but you can you can figure stuff out on date and time And the epoch thing is is also very useful if you're trying to calculate the time between two dates In certain manners so and I can say you know 12 Like this And it tells me it puts in that time and it's so smart. I can also let's see if I do Monday Jan oh Monday Jan yeah invalid I was gonna say a day of the week but Jan second if I do that invalid There we go. So so I Can type the date different ways, you know, it's it's not perfect. You can't type it just anyway But it's very useful and you can use this for certain things for like I said Getting the epoch time, but let's say you want to know what a certain day of the week was for a certain date Let's say I wanted to know What Christmas was back in 2016 so there you go I can see it's a Sunday and I can do plus a capital a or sorry percent plus Plus percent capital a oh It was a Sunday or lowercase a if I wanted the abbreviated version. Okay. What was Christmas in 2017? It was a Monday 2018. It's gonna be a Tuesday. I'm seeing a pattern here Let's say we celebrate the 4th of July here in America. So I can say July 4th 2016 was a Monday. What about July 4th 2014? 2013 I can see the day of the week Which could be useful if you're trying to check something or if you just want a list of what days of the week if you just said something like If you just said 12 25 it's gonna give you this year this year It's going to be on a Tuesday and that makes it very useful again epoch time I think the two most useful things of this is the epoch time So you can calculate difference in time and the day of the week if you want to know the day of the week like hey Well, what's what's my birthday going to be? in 2028 it's gonna be a Sunday. That's good to know anyway So it was a little bit shorter rushing to play a little bit more with Date and time in the next video showing you some more functionality that you may or may not know that the date command can do because you Would think a command that tells you the date and time Isn't as useful as this but it does some pretty neat things. So I do thank you for watching and As always please is it films by Chris calm? That's Chris the K check out the link in the description And as always I hope that you have a great day