Path to this page:
./
time/logtime,
Prints date and time in a standard format
Branch: pkgsrc-2022Q1,
Version: 1.2nb1,
Package name: logtime-1.2nb1,
Maintainer: pkgsrc-usersLogtime prints the date and time in a set format (YYYYMMDD hh:mm:ss).
With the -p option logtime subtracts one day from the date if the time
is before 8am. This is a special hack to make scripts that run in
the early morning hours generate log files with the previous days date.
Master sites:
Filesize: 1.729 KB
Version history: (Expand)
- (2022-03-31) Package added to pkgsrc.se, version logtime-1.2nb1 (created)