Manual Reference Pages - today (1)
NAME
today(1f) - [TIME] output current time for uses such as file suffixes.
(LICENSE:PD)
CONTENTS
Synopsis
Description
Options
Example
Author
License
SYNOPSIS
today format|--help|--version|--options
DESCRIPTION
Outputs the current date using the specified format. Typically used
to generate a string to be used in building filenames containing
date information.
OPTIONS
format |
any allowable format for the fmtdate(3) routine. Enter
"-" to get a list on stdout. defaults to "YMD".
|
--help |
display this help and exit
|
--version |
|
output version information and exit
|
--options |
|
display allowed options for building a format
|
|
EXAMPLE
Sample commands:
cp myfile myfile.today
find . -ls > MANIFEST.today epoch
mkdir today YMDhms
today yearmonthdayhourminutesecond
today --options # show formatting options
AUTHOR
John S. Urban
LICENSE
Public Domain
Generated by manServer 1.08 from f1600c1b-4002-4e12-b089-cbb7af42704f using man macros.