C' (Read Date And Time) - KoamTac KDC100 Programming Manual

Revision 2.82
Hide thumbs Also See for KDC100:
Table of Contents

Advertisement

'c' (Read date and time)

Parameters:
None
Format:
'c'
Output: 'YMDHmS@' where Y is year(0 means 2000), M is month(1-12), D is day(1-31), H is
hour(0-23), m is minute(0-59) an S is second(0-59) and @ means the end of data. Y, M, D,
H, m and S are hexadecimal numbers. Year range is between 1970 and 2069.
Purpose:
Read current Date and Time of KDC100
[Example]
Output: 0x00, 0x02, 0x03, 0x17, 0x0C, 0x01
0x00: Year 2000
0x02: February
0x03: 3
0x17: 23 Hour (Hexadecimal 17 is equal to 23 in decimal)
0x0C: 12 Min. (Hexadecimal C is equal to 12 in decimal)
0x01: 1 Sec
2000/02/03:23:12:01
Year
1970 ~ 1999
2000 ~ 2069
rd
KDC100 Programming Manual
Hex No.
0x46 ~ 0x63
0x00 ~ 0x45
11

Advertisement

Table of Contents
loading

Table of Contents