Documentation

Date
in package

Table of Contents

asDate()  : DateTime
Returns the date as a DateTime object

Methods

asDate()

Returns the date as a DateTime object

public static asDate(string $date) : DateTime
Parameters
$date : string

The date as a string

Return values
DateTime

The DateTime object representing the date

Search results