Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: