Google

CCP4 web logo CCP4i: Graphical User Interface
Documentation for Programmers
GetDate

next button previous button top button

NAME

GetDate - Return the time/date in user-friendly format

SYNOPSIS

GetDate

Optional Arguments:

-format full|time|date|brief
-clock clock_time

DESCRIPTION

Internally, CCP4i handles and stores times as the machine clock time which is seconds after 01 Jan 1970 00:00:00. This procedure returns the current time in a user friendly format. By default a full date and time is returned.

The argument -format with keyword time or date will limit the output to just the time or the date. The keyword brief will return just the time if it is for the current day or just the date for any other day.

Using the argument -clock with the clock_time will return that clock_time in a user-friendly format.

KEYWORDS