Previous page

Next page

Locate page in Contents

Print this page

set_date

Summary:

Sets local date and time on the Hardware Node.

Request specification:

Name

Min/Max

Type

Description

set_date

 

 

 

{

 

 

 

date

1..1

 

 

{

 

 

 

year

1..1

int

Four-digit year.

month

1..1

int

Month (1 to 12).

day

1..1

int

Day of month (1 to 31).

hour

1..1

int

Hour (0 to 23).

minute

1..1

int

Minute (0 to 59).

second

1..1

int

Second (0 to 59).

day_of_week

0..1

int

Day of week (0 to 7; 0 and 7 both refer to Sunday).

}

 

 

 

{

 

 

 

time_zone

0..1

string

Time zone information.

}

 

 

 

}

 

 

 

Returns:

OK/Error

Example:

<packet>

<target>computerm</target>

<data>

<computerm>

<set_date>

<date>

<year>2007</year>

<month>1</month>

<day>23</day>

<hour>3</hour>

<minute>2</minute>

<second>25</second>

<day_of_week>2</day_of_week>

<time_zone>America/New_York</time_zone>

</date>

</set_date>

</computerm>

</data>

</packet>

Please send us your feedback on this help page