Call:      digitalClockDisplay() 

Input:    <none> 

Output: <none>

 

This function can be used to display the current time in readable format in the serial monitor. The internal time used by the Arduino is the UNIX time stamp. It is possible to set the current date/time by the “T<unix-time>” command available in the serial monitor. 

 

Example: 

digitalClockDisplay();