bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13517: How to change the date format in linux


From: Mike Frysinger
Subject: bug#13517: How to change the date format in linux
Date: Mon, 21 Jan 2013 16:07:03 -0500
User-agent: KMail/1.13.7 (Linux/3.7.1; KDE/4.6.5; x86_64; ; )

On Monday 21 January 2013 01:59:01 Vinay Jain wrote:
> Right now if i will fire a command: date '+%D' then it will display
> 01/20/13. I want that when i fire the command date '+%D' then it should be
> displayed as 20/01/2013.

please read `man date` or `info date`.  it explains how to use the + option 
and tells you that %D is simply a shortcut for %m/%d/%y.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]