Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core\clock Interface Reference
Inheritance diagram for core\clock:
Psr\Clock\ClockInterface core\system_clock frozen_clock incrementing_clock

Public Member Functions

 now ()
 
 time ()
 Return the unix time stamp for the current representation of the time.
 

Member Function Documentation

◆ time()

core\clock::time ( )

Return the unix time stamp for the current representation of the time.

Return values
int

Implemented in core\system_clock, frozen_clock, and incrementing_clock.


The documentation for this interface was generated from the following file: