SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

DATE

Section: User Commands (1)
Index 

NAME

date - date and time 

SYNOPSIS

date[option] [seconds] 

DESCRIPTION

Print the date, in the format

       Tue Aug 16 17:03:52 CDT 1977

The options are

-u
Report Greenwich Mean Time (GMT) rather than local time.
-n
Report the date as the number of seconds since theepoch, 00:00:00 GMT, January 1, 1970.

The conversion from Greenwich Mean Time to local time depends on the$timezoneenvironment variable; seectime(3).

If the optional argumentsecondsis present, it is used as the time to convert rather thanthe real time. 

SOURCE

/src/cmd/date.c


 

Index

NAME
SYNOPSIS
DESCRIPTION
SOURCE

This document was created byman2html,using the manual pages.