summaryrefslogtreecommitdiff
path: root/apps/nshlib/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-01 17:56:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-09-01 17:56:03 +0000
commit12ede7f8e242f87c62ad3e7739d6a6452be813a1 (patch)
treea09a716fb96e2a520a6d35bb9603b4eb14bd208c /apps/nshlib/README.txt
parent0c65db21d1bdc2ca3419f947288e08033f890662 (diff)
downloadpx4-nuttx-12ede7f8e242f87c62ad3e7739d6a6452be813a1.tar.gz
px4-nuttx-12ede7f8e242f87c62ad3e7739d6a6452be813a1.tar.bz2
px4-nuttx-12ede7f8e242f87c62ad3e7739d6a6452be813a1.zip
Fix errors in gmtime and gmtime_r
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3933 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/README.txt')
-rw-r--r--apps/nshlib/README.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/nshlib/README.txt b/apps/nshlib/README.txt
index 8435f6317..fad1ac104 100644
--- a/apps/nshlib/README.txt
+++ b/apps/nshlib/README.txt
@@ -262,6 +262,18 @@ o cp <source-path> <dest-path>
Copy of the contents of the file at <source-path> to the location
in the filesystem indicated by <path-path>
+o date [-s "MMM DD HH:MM:SS YYYY"]
+
+ Show or set the current date and time. This command is only supported
+ if the platform supported RTC hardware (CONFIG_RTC=y).
+
+ Only one format is used both on display and when setting the date/time:
+ MMM DD HH:MM:SS YYYY. For example,
+
+ data -s "Sep 1 11:30:00 2011"
+
+ 24-hour time format is assumed.
+
o dd if=<infile> of=<outfile> [bs=<sectsize>] [count=<sectors>] [skip=<sectors>]
Copy blocks from <infile> to <outfile>. <nfile> or <outfile> may