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

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
<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
 
<span id="bfasctime"></span>
 
<span id="bfasctime"></span>
 
  string asctime(i : integer)
 
  string asctime(i : integer)

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