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

Public Member Functions

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

Member Function Documentation

◆ now()

core\system_clock::now ( )

◆ time()

core\system_clock::time ( )

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

Return values
int

Implements core\clock.


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