summaryrefslogtreecommitdiff
path: root/appl/svc/webget/date.m
blob: 61c31a48bc0cf924677198dead81f4d256611017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

Date: module{
	PATH : con "/dis/svc/webget/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();			# to load needed modules
};