db_date_to_clinks

	clinks.u4.v = db_date_to_clinks(date.i1a.r, status.i4.r
					[,sybase_format.i4.v])

	This routime converts a database date string to clinks.
	Please see clinks_now for the definition of clinks. The date is
	assumed to be local time.  This routine calls db_date_to_date_c to
	convert the date to the format expected by date_to_clinks and then
	calls date_to_clinks to do the actual conversion to clinks.  However,
	since db_date_to_date_c changes ";"s in the input to ":"s in the
	output, one can not distingish between the repeated local times that
	occur immediately after the transistion back to standard time in the
	Fall of each year.  The routine will however still set status to
	CBS_RANGE for times that don't occur because they are skipped in the
	transistion to daylight savings time in the Spring.

	date		ASCII date string (DB_DATE_LEN characters)
	status		conversion status
			(OK -> successful conversion,
			 CBS_NO_SUCH -> invalid month string,
			 CBS_RANGE -> invalid year, day, hour, minute,
				      or second)
	[sybase_format]	Sybase date format ID
			(0 or 100 -> date string having the format
				     "Mmm dd yyyy hh:mmAM(PM)"
				     (DB_DATE_LEN characters)
				     (default),
			 1 -> date string having the format "mm/dd/yy",
			 101 -> date string having the format "mm/dd/yyyy",
			 2 -> date string having the format "yy.mm.dd",
			 102 -> date string having the format "yyyy.mm.dd",
			 3 -> date string having the format "dd/mm/yy",
			 103 -> date string having the format "dd/mm/yyyy",
			 4 -> date string having the format "dd.mm.yy",
			 104 -> date string having the format "dd.mm.yyyy",
			 5 -> date string having the format "dd-mm-yy",
			 105 -> date string having the format "dd-mm-yyyy",
			 6 -> date string having the format "dd Mmm yy",
			 106 -> date string having the format "dd Mmm yyyy",
			 7 -> date string having the format "Mmm dd,yy",
			 107 -> date string having the format "Mmm dd,yyyy",
			 8 or 108 -> date string having the format "hh:mm:ss"
				     (not recommended),
			 9 or 109 -> date string having the format
				     "Mmm dd yyyy hh:mm:ss:mmmAM(PM)",
			 10 -> date string having the format "mm-dd-yy",
			 110 -> date string having the format "mm-dd-yyyy",
			 11 -> date string having the format "yy/mm/dd",
			 111 -> date string having the format "yyyy/mm/dd",
			 12 -> date string having the format "yymmdd",
			 112 -> date string having the format "yyyymmdd")

	This function returns status values as follows:

	number of clinks corresponding to the supplied date string

	This function requires the following include files:

	cnsparam_h, clib_h, acnet_errors_h

	Related functions:

	date_to_clinks, db_date_to_date_c, convert_compare_date_to_clinks, 
	clinks_to_date, clinks_now,  clinks_to_day_of_week_c, clinks_is_dst_c,
	get_date_clinks, convert_seconds_c, clinks_to_special_time_c,
	clinks_to_seconds_into_day_c, timezone_info

	C/C++ usage:

	static const char	date[DB_DATE_LEN+1] = "Sep 16 1997 04:00PM";
	int	status;
	int	sybase_format = 0;
	unsigned int	clinks;

	clinks = db_date_to_clinks(date,&status,sybase_format);