Hi ![Smilie](https://www.php-resource.de/forum/core/images/smilies/smile.gif)
bis jetzt hatte ich mit pack() noch nichts zu tun und verstehe leider nichts. Komme dementsprechend auch keinen Millimeter weiter.
Ich habe hier ein Dokumentation in der folgendes steht:
Ich versuche das Beispiel nachzuvollziehen und zu codieren. Aber ich komme nicht mal in die Nähe aus "93/10/13 12:45:00" das entsprechende Ergebnis zu erzielen.
Kann mir bitte jemand erklären wie das gemacht wird?
![Smilie](https://www.php-resource.de/forum/core/images/smilies/smile.gif)
bis jetzt hatte ich mit pack() noch nichts zu tun und verstehe leider nichts. Komme dementsprechend auch keinen Millimeter weiter.
Ich habe hier ein Dokumentation in der folgendes steht:
Code:
This 40-bit field contains the start time of the event in Universal Time, Co-ordinated (UTC) and Modified Julian Date (MJD) (see annex C). This field is coded as 16 bits giving the 16 LSBs of MJD followed by 24 bits coded as 6 digits in 4-bit Binary Coded Decimal (BCD). If the start time is undefined (e.g. for an event in a NVOD reference service) all bits of the field are set to "1". EXAMPLE 1: 93/10/13 12:45:00 is coded as "0xC079124500".
Kann mir bitte jemand erklären wie das gemacht wird?
Kommentar