Note Submitter: Martin Lindhe
----
To calculate NTP timestamp from unix timestamp:
<?
function ntptime()
{
return 2208988800 + time();
}
?>
NTP timestamps are represented as a 64-bit unsigned fixed-
point number, in seconds relative to 0h on 1 January 1900.
--
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php