yesterday

Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 28 September 2008
Index Return to Main Contents

 

NAME

yesterday - return the date of yesterday

 

SYNOPSIS

edrc/lib/yesterday [ -h ]

yesterday [ "date_format" ]

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

return the date of yesterday. By default the date is returned in the format YYYY-MM-DD.

 

OPTIONS

-h
print usage message.

"date_format"
date format as known from the date(1) command.

The following format place holders are the most compatible ones:

%Y
year (1970...)
%y
last two digits of year (00..99)
%m
month (01..12)
%d
day of month (01..31)
%H
hour (00..23)
%M
minute (00..59)
%S
second (00..60)
%w
day of week (0..6); 0 represents Sunday

 

ENVIRONMENT

$TZ
Timezone setting.

 

EXIT STATUS

0
no error.

2
date could not be resolved.

4
usage message printed.

 

FILES

-

 

EXAMPLES

-

 

SEE ALSO

edrcintro(1), date(1), days(3), is_weekend(3), seconds(3), timer(1), today(3), tomorrow(3)

 

NOTES

-

 

BUGS

-

 

AUTHOR

yesterday was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net . 

 

COPYRIGHT

Copyright © 2008 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:55:11 GMT, August 28, 2024