XG2000 series User's Guide
82/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.4.15 date
Function
Displays the date/time of the current system clock.
Prompt
xg> or xg#
Command syntax
Date
Command type
Operation management commands
Output form
The current date and time is displayed in the form of "year/month/date-hour:minutes:seconds."
xg# date
2007/01/22-14:31:02
5.4.16 date set
Function
Changes the date/time of the current system clock.
Prompt
xg#
Command syntax
date set DATE-TIME
Parameter
z DATE-TIME
Enter the date and time in the form of "MMDDhhmm[[CC]YY][.ss]."
− MM
Specify the month to set in the range of 1 to 12.
− DD
Specify the day to set in the range of 1 to 31.
− hh
Specify the hour to set in the range of 0 to 23.
− mm
Specify the minutes to set in the range of 0 to 59.
− [[CC]YY]
Specify the first two digits of the four digits of the year for CC. When it is omitted
20 will be specified.
Specify the last two digits of the four digits of the year for YY.
If CC and YY are both omitted, the year will not be changed.
− [.ss] (second <0 - 59>)
Specify the seconds to set in the range of 0 to 59.
Command type
Operation management commands
Message
% invalid date %1$.
Explanation
The specified parameter of the date and time is incorrect.
[[Inserted string]]%1$: specified date and time
Solution
Check that no mistakes have been made in the date and time parameter.
Example
Set the date and time of the system to 20:25:30, June 30, 2005.
xg# date set 06302025.30 (Year omitted)
or
xg# date set 0630202505.30 (Year specified with the last two digits)
or
xg# date set 063020252005.30 (Year specified with four digits)