![]() |
CCP4i: Graphical User Interface |
Documentation for Programmers | |
GetDate |
![]() ![]() ![]() |
GetDate - Return the time/date in user-friendly format
GetDate
Optional Arguments:
-format full|time|date|brief
-clock clock_time
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.