world leader in high performance signal processing
Trace: » date
Table of Contents

date

The date command prints or sets the system date and time.

example

Shell session in uClinux running on the target

$ date
Wed Apr 12 18:52:41 MDT 2000

Shell session in uClinux running on the target - getting help from date

root:~> date --help
BusyBox v1.4.1 (2007-03-13 14:56:03 EDT) multi-call binary

Usage: date [OPTION]... [MMDDhhmm[[CC]YY][.ss]] [+FORMAT]

Display current time in the given FORMAT, or set system date

Options:
        -R              Outputs RFC-822 compliant date string
        -d STRING       Displays time described by STRING, not 'now'
        -s              Sets time described by STRING
        -r FILE         Displays the last modification time of FILE
        -u              Prints or sets Coordinated Universal Time

More information