ACTA:SetNetworkTime

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x042E0080 Cmd 0x042E Param 2 Xlat 0
1-2 s64, Custom server time timestamp

Response[edit]

Index Word Description
0
Header 0x042F0040 Cmd 0x042F Param 1 Xlat 0
1 Result code

Description[edit]

Sets the internal network time field. Usually, this is obtained from the X-Nintendo-Date header in HTTP responses from the account server.

The timestamp format is milliseconds elapsed since 01.01.2000 00:00:00 UTC.

Using this command will affect the Difference between server time and UTC device time (in nanoseconds) field (BlkID 0x4).

This only works in debug mode (when Configuration Block 0x00130000 is set to 0x100).