Spork Code Libraries

DateTime

Convert a value into a Datetime object. Return false if conversion fails.

Summary

Methods

inline()
filter()

Properties

Constants

Extends

Methods

inline()

inline(integer  $value, array  $options = array()) : mixed

Static function to execute filter

Parameters

integer $value
array $options

Returns

mixed
static
Inherited from
\Spork\Filter\AbstractFilter

filter()

filter(mixed  $value) : \DateTime|boolean

filter

Parameters

mixed $value

Returns

\DateTime|boolean
See also