summaryrefslogtreecommitdiff
path: root/appl/svc/webget/date.m
diff options
context:
space:
mode:
Diffstat (limited to 'appl/svc/webget/date.m')
-rw-r--r--appl/svc/webget/date.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/appl/svc/webget/date.m b/appl/svc/webget/date.m
new file mode 100644
index 00000000..61c31a48
--- /dev/null
+++ b/appl/svc/webget/date.m
@@ -0,0 +1,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
+};