caltontp.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (c) 1996 by Sun Microsystems, Inc.
* All Rights Reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* caltontp - convert a date to an NTP time
*/
#include "ntp_types.h"
#include "ntp_calendar.h"
#include "ntp_stdlib.h"
{
int prior_years;
/*
* First convert today's date to absolute days past 12/1/1 BC
*/
/*
* Subtract out 1/1/1900, the beginning of the NTP epoch
*/
/*
* Do the obvious:
*/
ntp_time =
return ntp_time;
}