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.

Show Date and Time in Linux

If you want to show the current date along with time in UTC format, you have to use the -u option.

date -u

Display date and time in UTC format

How to display date and time using Linux command line
Avatar

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn