spinix-hive/manpages/date.txt

31 lines
1.1 KiB
Plaintext

DATE(1) User Commands DATE(1)
NAME
date - display or set the system date and time
SYNOPSIS
date [-s [yyyy/mm/dd] [hh:mm[:ss]]]
DESCRIPTION
If no parameters are specified the date and time will be displayed
in the yyyy/mm/dd hh:mm:ss format. If the -s option is specified
without any additional parameters the unix epoch time will be printed,
which is the number of seconds since the beginning of 1970.
If the -s option is specified with additional parameters the date
and/or time can be set by specifying either the date, time or both.
The date and time can be specified in either order, and the seconds
parameter is optional when specifying the time.
AUTHOR
Dave Hein
COPYRIGHT
Copyright (c) 2013, Dave Hein
MIT License (See license.txt in the root directory)
This is free software: you are free to change and redistribute it.
There is no warranty, to the extent permitted by law.
SPINIX utility September 2013 DATE(1)