clock

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR
COPYRIGHT

NAME

clock - Set or get the internal clock’s date & time

SYNOPSIS

clock [<YYYY/MM/DD-hh:mm:ss>]

DESCRIPTION

This command is used to get or set the internal clock’s date & time. YYYY is a four digit year (2065 for instance), MM a two digit month (between 01 and 12) and DD a two digit day (01 for the first day of a month, 31 for the last day of March for instance). The time is specified by a two digit hour hh (between 1 and 23), a two digit minute mm and a two digit second ss (for example 12:00:00 specifies noon - 13:00:00 for 01:00 PM and 08:30:00 for 8:30 AM).

Date elements are separated by the character / ; time elements are separated by the character : and date and time are separated by the _ (underscore) character. An example of a complete date & time specification is 2065/04/10_02:30.23. It specifies the following date & time: April 10, 2065 02:30:23 AM.

SEE ALSO

ntp (1) timezone (1)

AUTHOR

CacheGuard Technologies Ltd <www.cacheguard.com>

Send bug reports or comments to the above author.

COPYRIGHT

Copyright (C) 2009-2018 CacheGuard - All rights reserved