Copied!

TrackingClockInterface

TrackingClockInterface.php : 14
Interface

Methods

publicaddDays()

TrackingClockInterface.php : 23

Add days (supports fractional days like 0.015 for ~21.6 minutes).

public addDays(float $days) : DateTimeImmutable

Parameters

Name Type Default value Description
$days float - -

Return values

DateTimeImmutable

Tags
Throws
DateMalformedIntervalStringException

publicnow()

TrackingClockInterface.php : 16
public now() : DateTimeImmutable

Return values

DateTimeImmutable