From 04edf7fac2b01582c5f551d64b6b3a303b225f7e Mon Sep 17 00:00:00 2001 From: flowtron Date: Sat, 7 Jun 2008 15:14:40 +0000 Subject: [PATCH] doct: watchingdemo, systime, timestamp, datestring, timestring git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2156 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- docs/reference.xml | 60 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/docs/reference.xml b/docs/reference.xml index cdb1e414..a3c9868e 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -470,6 +470,54 @@ + + seconds since the epoch (00:00:00 UTC on January 1, 1970) + + + echo (systime) + + + + + a list of values for current time + + + echo (timestamp) "2008 08 08 08 08 08" + + + echo (timestamp) "2063 04 05 12 00 00" + + + echo (at (timestamp) 0) (at (timestamp) 2) (at (timestamp) 1) "2063 05 04" + + + + format: YYYY mm dd HH MM SS + + + + representation of date + + + echo (datestring) "Sat Jun 7 17:08:35 2008" + + + + format: Www Mmm dd hh:mm:ss yyyy + Use timestamp to create your own formatting. + + + + the current time in (H)H:MM:SS format + + + echo (timestring) "12:34:56" + + + echo (timestring) "1:02:03" + + + Binds a key to a command. @@ -911,6 +959,18 @@ Stops any demo recording or playback. + + + Returns 1 when the current game is being played from a demo, else 0. + + + + echo I am (at [not now] (watchingdemo)) watching a demo. "so, are you?" + + + + + Kill yourself.