By the command


the time and date of the system (according to local place) is printed. Is there a command that outputs Kde's short date format in terminal?

enter image description here

The date in KDE also depends on a calender:

enter image description here


You can use date for that anyway:

date '+%A, %Y/%m/%d'

which will currently output

Friday, 2013/12/20

Just run date --help to find out more...smiley

For calendar specific, or at least locale specific, specific date names, try exporting the locale - e.g. this one:

export LC_TIME=am_ET.UTF-8

and then run the command again:

ዓርብ, 2013/12/20

You can list the locales with locale -a - more on that here.

This bit is based on a lot of guessing...

| improve this answer | |
  • 1
    useful. But KDE has a calendar type parameter. – Minimus Heximus Dec 20 '13 at 21:20
  • 1
    Does the above do what you want? – Wilf Dec 20 '13 at 21:28
  • 1
    thanks. But still I don't think a non-kde command can produce the date and time as shown in the second image above. – Minimus Heximus Dec 20 '13 at 21:41
  • 1
    KDE would not have its own commands, it would have it as a feature within their programs... As such, there is not likely to be a command for it... :-s – Wilf Dec 20 '13 at 21:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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