Date
in package
Table of Contents
Methods
now()
public
static now([ClockInterface $clock = null ]) : string
Parameters
- $clock : ClockInterface = null
Return values
string —format()
private
static format(DateTimeImmutable $date) : string
Parameters
- $date : DateTimeImmutable