Encoding Date Value | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through March 23, 2004 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Hi, I am building PDUs and stuck in encoding date value. Can anybody help me out in that? Regards, Raj | |||
hejinping New member Username: Hejinping Post Number: 3 Registered: 11-2003 |
Please express your problem more clearly, | |||
yanxh New member Username: Yanxh Post Number: 6 Registered: 11-2003 |
Date-value = Long-integer ; The encoding of dates shall be done in number of seconds from 1970-01-01, 00:00:00 GMT. Long-integer = Short-length Multi-octet-integer ; The Short-length indicates the length of the Multi-octet-integer Multi-octet-integer = 1*30 OCTET ; The content octets shall be an unsigned integer value ; with the most significant octet encoded first (big-endian representation). ; The minimum number of octets must be used to encode the value. "big-endian" means to encode high bit firstly,then low bit. could you understand me? |