code: 9ferno

ref: 600bbfe4aaa9ad0f73d8d73eef1b7670e5f7d3a3
dir: /appl/charon/date.m/

View raw version

Date: module{
	PATH : con "/dis/charon/date.dis";

	dateconv: fn(secs :int): string; # returns an http formatted
					 # date representing secs.
	date2sec: fn(foo:string): int;   # parses a date and returns
					 # number of secs since the 
					 # epoch that it represents. 
	now: fn(): int;		# so don't have to load daytime too
	init: fn(cu: CharonUtils);
};