Concept Framework 2.0 documentation Contents | Index

standard.C.time.asctime

Name Version Deprecated
asctime version 1.0 no

Prototype:
string asctime(number timer)

Parameters:
timer      [in] time

Description:
The asctime function converts a time stored as seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time (UTC) to a character string.

Example:
import standard.C.time

class Main {
     function Main() {
          echo "Current date and time(UTC): "+asctime(time());
     }
}
 

Results 
Current date and time(UTC): Fri Mar 10 23:56:14 2006  

Returns:
A string containing the date and time.

Documented by Simona Gabriela Plesuvu, generation time: Fri Jan 21 18:06:19 2011 GMT(c)2011 RadGs Software