Further fleshing out of implementation of conversion between date,
		calclock and unix time.  Compiles but not tested.