xref: /inferno-os/appl/svc/webget/date.m (revision 37da2899f40661e3e9631e497da8dc59b971cbd0)
1
2Date: module{
3	PATH : con "/dis/svc/webget/date.dis";
4
5	dateconv: fn(secs :int): string; # returns an http formatted
6					 # date representing secs.
7	date2sec: fn(foo:string): int;   # parses a date and returns
8					 # number of secs since the
9					 # epoch that it represents.
10	now: fn(): int;		# so don't have to load daytime too
11	init: fn();			# to load needed modules
12};
13