standard.C.time.time

time is available since version 1.0.

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.

Return value:

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.

Example
import standard.C.time

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

Results 
Fri Mar 10 23:56:14 2006