In this small tutorial, I am going to show you how to display date and time using the command line. I am using Debian Linux 10.
Open the terminal and execute the following command,
date
This will show you the current date along with time in your local time zone.
If you want to show the current date along with time in UTC format, you have to use the -u option.
date -u
How to display date and time using Linux command line