Concept Framework 2.0 documentation Contents | Index

standard.C.time.time

Name Version Deprecated
time version 1.0 no

Prototype:
number time()


Description:
The time function returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time (UTC), according to the system clock.

There is no error return.

Example:
import standard.C.time

class Main {
     function Main() {
          echo asctime(time());
     }
}
 

Results 
Fri Mar 10 23:56:14 2006  

Returns:
The time function returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time (UTC), according to the system clock.

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