XPS Unified Programmer’s Manual
7.2.1.112 HardwareDateAndTimeGet
Name
HardwareDateAndTimeGet – Gets the current date and time.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
Description
This function returns the current date and time of XPS controller with the format
“WeekDay Month Day Hour:Minute:Second Year “, for example “Tue Jan 15 10:28:06
2008”.
NOTE
The date and time returned by the controller are not guaranteed and should not be
used as a reference.
Prototype
int HardwareDateAndTimeGet(
int SocketID,
char * DateAndTime
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Output parameters
DateAndTime char * Controller date and time.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
175 EDH0373En1023 — 01/18