From 9fdabfccaa86fa3a7eff821dda5d51fbc716645c Mon Sep 17 00:00:00 2001 From: Romain Prieto Date: Mon, 3 Mar 2014 08:25:49 +1100 Subject: [PATCH] New page for date (display only) Fix #15. Based on #32, thanks @shrayas. --- common/date.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 common/date.md diff --git a/common/date.md b/common/date.md new file mode 100644 index 0000000000..eb42329f38 --- /dev/null +++ b/common/date.md @@ -0,0 +1,12 @@ +# date + +> Set or display the system date + +- Display the date using the default locale + +`date +"%c"` + +- Display the date using a custom format + +`date +"%d/%m/%Y %H:%M:%S"` +