Horde_Imap_Client_DateTime
extends DateTime
in package
A wrapper around PHP's native DateTime class that handles improperly formatted dates and adds a few features missing from the base object (string representation; doesn't fail on bad date input).
Tags
Table of Contents
- __construct() : mixed
- __toString() : mixed
- String representation: UNIX timestamp.
- error() : bool
- Was this an unparseable date?
Methods
__construct()
public
__construct([mixed $time = null ][, mixed $tz = null ]) : mixed
Parameters
- $time : mixed = null
- $tz : mixed = null
Return values
mixed —__toString()
String representation: UNIX timestamp.
public
__toString() : mixed
Return values
mixed —error()
Was this an unparseable date?
public
error() : bool
Return values
bool —True if unparseable.