In Raspbian in the upper right hand corner there is a clock and when you right click it and select clock settings there is a field for clock format codes and changing this field will display the clock in different formats. What are these formats or how can i find out what they are?(other than on stack exchange)

2 Answers 2


The list is a little long to paste in full. You can get a full listing using man date in a terminal window, or take a look through this list posted at man7.org or at die.net.


Enter man 3 strftime in the terminal and you can read the Linux man page for date and time and set the digital clock as you wish. (Right click on the digital clock, go to clock settings. Format codes: man 3 strftime is given there.)

  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Jan 31, 2023 at 18:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.