Concept Framework 2.2 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: Sun Jan 27 18:15:15 2013 GMT(c)2013 Devronium Applications