\FAA\Obj\SysMyDateTime

Class MyDateTime

Summary

Methods
Properties
Constants
__construct()
addMonths()
roundMinutes()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  $time = 'now')

MyDateTime constructor.

Parameters

$time

Throws

\Exception

addMonths()

addMonths(integer  $months): $this

Add real calendar moths to this date time

Parameters

integer $months

Returns

$this

roundMinutes()

roundMinutes(integer  $target = 15): $this

Parameters

integer $target

Returns

$this