Difference between revisions of "Manual:DIL Manual/asctime()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== string asctime(i : integer) ==
+
<span id="bfasctime"></span>
i : the time to convert in seconds ([[Manual:DIL_Manual/realtime|realtime]] kind of integer)
+
string asctime(i : integer)
 +
    i : the time to convert in seconds ([[#bvrealtime|realtime]] variable)
  
Returns: The seconds converted into an ascii format date of the following form  "Mon Nov 18 18:49:08 1996"
+
    Returns: The seconds converted into an ascii format date of the following
 +
            form  "Mon Nov 18 18:49:08 1996"
  
Example:
+
    Example:
  log(asctime(realtime));
+
      log(asctime(realtime));
 +
 
 +
</PRE
 +
<span id="bfasctime"></span>
 +
string asctime(i : integer)
 +
    i : the time to convert in seconds ([[#bvrealtime|realtime]] variable)
 +
 
 +
    Returns: The seconds converted into an ascii format date of the following
 +
            form  "Mon Nov 18 18:49:08 1996"
 +
 
 +
    Example:
 +
      log(asctime(realtime));
 +
 
 +
</PRE

Latest revision as of 22:31, 4 December 2025

string asctime(i : integer)
   i : the time to convert in seconds (realtime variable)
   Returns: The seconds converted into an ascii format date of the following
            form  "Mon Nov 18 18:49:08 1996"
   Example:
      log(asctime(realtime));
</PRE

string asctime(i : integer)
   i : the time to convert in seconds (realtime variable)
   Returns: The seconds converted into an ascii format date of the following
            form  "Mon Nov 18 18:49:08 1996"
   Example:
      log(asctime(realtime));
</PRE