A
          / \      _              Play Now                         Nemesis on 
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/efun/ctime


Name: ctime - print formatted time

Syntax:
	string ctime(int clock)

Description:
	The ctime efun converts an amount of seconds since 1970 (as returned
	by the time efun) into a nice format.

	There are different time functions for Nemesis time.

Return value:
	A string containing the date, for example: Tue Mar 31 17:36:02 2015

Examples:
	write(ctime(time())+"\n");

See also:


This page was generated in LPC

Imprint / Impressum