You are on page 1of 1

https://www.youtube.com/watch?

v=kcp88jqRtYc

Change your Raspberry Pi clock settings to display the date and time in all 
formats.

Time Settings:
04:22 PM
%I:%M %p

Wed Feb 10 04:22 PM
%a %b %d  %I:%M %p

07‐16‐10 04:22:35 PM
%F %r

%r will give you a 12 hour clock with am/pm indicator
%R will give you a 24 hour clock
%X will give you a 24 hour clock with seconds
%x will give you the date in this format DD/MM/YY
%d will give you the day in number format
%D will give you the date in this format MM/DD/YY
%a will give you the abbreviated day name
%A will give you the full day name

To see them all type this in a terminal window
man 3 strftime; %n

You might also like