...
- Download and install the .NET SDK Demo from Universal Library for Visual Studio - Home.
Retrieve the reader's current date and time by sending the Get RTC Date and Time (25-06) command with no data (see below screenshot).
Please be aware that the date & time stored in the reader is the UTC time.
Define the 4-byte value of the DFEF43 tag based on the definition of the tag below:
- Byte1: +/-, indicate the current timezone is ahead or behind UTC.
- Byte2: HH, hours of the time difference between the local and UTC.
- Byte3: MM, minutes of the time difference between the actual local time in the reader with UTC.
- Byte4: Flag for daylight saving, set 1 to indicate daylight saving enabled.
For example, if a device is located in California (PST), which is 7 hours behind the UTC and currently in Daylight Saving Time, and if the time retrieved from the reader is five mins ahead of the actual local time, the four-byte value of DFEF43 should be 2D 07 05 01 where:
- 2D is the hex code for the "-".
- 07 is the hour that we are behind of the UTC.
- 05 is the minutes that the reader is currently ahead of the actual local time.
- 01 indicates that the summer saving is on.
- Add Tag DF EF 43 04 2D 07 05 01 in Group 0 settings by sending the Set Configuration (04-00) command with data DF EF 43 04 2D 07 05 01 if Tag DFEF43 doesn't exist in your current group 0 or modify the value of the existing DFEF43 tag in Group 0.
- Finally, perform a transaction test to verify the transaction time (Tag 9F21) is reflecting the correct local time.
...
Page Properties | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
|
...