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

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
Line 1: Line 1:
 +
== string asctime(i : integer) ==
 +
i : the time to convert in seconds ([[Manual:DIL_Manual/realtime|realtime]] kind of integer)
  
 +
Returns: The seconds converted into an ascii format date of the following form  "Mon Nov 18 18:49:08 1996"
  
<span id="bfasctime"></span>
+
Example:
string asctime(i : integer)
+
  log(asctime(realtime));
    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
 

Revision as of 06:46, 29 November 2025

string asctime(i : integer)

i : the time to convert in seconds (realtime kind of integer)

Returns: The seconds converted into an ascii format date of the following form "Mon Nov 18 18:49:08 1996"

Example:

  log(asctime(realtime));