Documentation

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
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2012-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

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.

Search results