"NTP timestamps are represented as a 64-bit unsigned fixed-point number, in seconds relative to 0h on 1 January 1900. The integer part is in the first 32 bits and the fraction part in the last 32 bits. In the fraction part"
eli se timestamp on juuri aika sekunteina vuoden 1900 alusta.
Vastaukset 4
Vanhimmat
"NTP timestamps are represented as a 64-bit unsigned fixed-point number, in seconds relative to 0h on 1 January 1900. The integer part is in the first 32 bits and the fraction part in the last 32 bits. In the fraction part"
eli se timestamp on juuri aika sekunteina vuoden 1900 alusta.
http://www.eecis.udel.edu/~mills/database/rfc/rfc2030.txt
No, kun se nyt täytyisi laskea. Siis miten formaatti 12.01.2007 klo 8.30 NTP:n sekunteina?
>...se nyt täytyisi laskea.
Siis laskea NTP timestamp. Yleensä se luetaan mutta olet vissiin tekemässä omaa NTP-serveriä "from scratch" ;)
No, olisko tuolla apuja ?
http://www.eecis.udel.edu/~ntp/ntpfaq/NTP-s-related.htm#AEN6117
Kiitti, on tästä apua.