Pummpcomm v2.1.1 Pummpcomm.DateDecoder View Source
Link to this section Summary
Functions
decodes a cgm timestamp binary whose format is described in the following table
This function decodes a full date and time as returned by the ReadTime command
decodes a history page short timestamp (date only) whose format is described in the following table
Link to this section Functions
decodes a cgm timestamp binary whose format is described in the following table:
+========================================================================+ | BYTE 0 | | 1 | | 2 | | 3 | | MONTH HIGH | HOUR | MONTH LOW | MINUTE | FLAGS | DAY | 2000 + YEAR |
- —————-+————+—————-+————+———-+———-+——————-+ | xx | 0xxxxx | xx | xxxxxx | xxx | xxxxx | 0xxxxxxx | +========================================================================+
This function decodes a full date and time as returned by the ReadTime command
decodes a history page short timestamp (date only) whose format is described in the following table:
+===========================================+ | BYTE 0 | | 1 | | | MONTH HIGH | DAY | MONTH LOW | YEAR |
- —————-+————+—————-+————-+ | xxx | xxxxx | x | xxxxxxx | +===========================================+