\duncan3dc\Dates\ParsersHumanReadable

Human readable format (d/m/y or d-m-y).

Summary

Methods
Properties
Constants
parse()
No public properties found
No constants found
parseTime()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

parse()

parse(  $date,   $time) : integer

Convert a parsable date/time into a unix timestamp.

Parameters

$date
$time

Returns

integer

parseTime()

parseTime(string|integer  $time) : array

Convert the time to an array of hours, minutes and seconds.

Parameters

string|integer $time

The value to parse.

Returns

array