 Hi, in this video, we're going to talk about how to display the current date and time with usage of JavaScript programming language. I will make a simple example with the usage of a function. Let's make an HTML file. Let's use title, display date and let's make a function. We're going to call our function display date. Our function will not have any parameters and what we want to do is to display information about our current date and time to some HTML element. For example, I will, I'm going to use paragraph. So I want to display here information about our current date and time. So I want to get this element, for example, by ID. I don't have ID here right now, but I'm going to put ID show or display date. Okay, let's make it show date, for example. And time. So we want to get this element and we want to change its inner HTML. So let's change its inner HTML with information about date. So we want to create JavaScript date instance, which let us work with dates and times. So I'm going to make date object and assign it to our paragraph here. Okay. And when we want to call our function, we want to call it, for example, when someone clicks to button that he wants to see current date and time. So we're going to make a button and use on click for on click event. So when someone clicks to our button, we're going to call this function. So on click, we're going to display date and our button will have show or display date. It doesn't matter display, maybe show date for our example to be more readable inside this editor, but you can put display date name that describes your button. Okay. Now I'm going to save this HTML file and now I want to run it. And now we have a button show date. And when I click to that show date button, then we're going to call display date function and display date function is going to change our inner HTML of this paragraph. And inside it, it will put information about current date and time. Okay. Let's see it. And as you can see information about current date and time has been displayed to our web page. That's all in this video. Don't forget to like it and don't forget to subscribe to my channel. You could also check out for my other videos on this YouTube channel. That's all for now. See ya.