The $datetime API variable provides helpers for working with dates/times and conversion between formats.
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the
WireDateTime class also inherits all the methods and properties of: Wire.
Additional methods and properties
In addition to the methods and properties above, WireDateTime also inherits the methods and properties of these classes:
API reference based on ProcessWire core version 3.0.133