Setdatetime() - VeriFone MX800 series Programmer's Manual

Hide thumbs Also See for MX800 series:
Table of Contents

Advertisement

setDateTime()

NOTE
As user processes are not allowed to set the Linux RTC, applications must call
setDateTime() passing the date and time in the same format used in the shell
command date.
Format: MMDDhhmmYYYY.ss
MM = Month
DD = Day
hh = Hour (24-hour format)
mm = Minute
YYYY = Year
ss = Seconds
setDateTime only sets the Linux RTC. To set the H/W RTC, application must
follow setDateTime with a call to setRTC.
Prototype
int setDateTime(char *dateTime)
Return Values
0
Less than 0
Success
Error
D
X
M
800 S
P
ERIES
ROGRAMMERS
D
EVICE
RIVERS
setDateTime()
141
G
UIDE

Advertisement

Table of Contents
loading

Table of Contents