trait AsDate

Methods

asDate(string $format)

Returns a string formatted according to the given format string.

asDiffForHumans(null $locale = null)

Return a human readable format time.

date(string $format) deprecated

No description

diffForHumans(null $locale = null) deprecated

No description

Details

at line 17
AsDate asDate(string $format)

Returns a string formatted according to the given format string.

Parameters

string $format

Return Value

AsDate

at line 32
AsDate asDiffForHumans(null $locale = null)

Return a human readable format time.

Parameters

null $locale

Return Value

AsDate

at line 48
AsDate date(string $format) deprecated

deprecated 4.0-dev

No description

Parameters

string $format

Return Value

AsDate

at line 59
AsDate diffForHumans(null $locale = null) deprecated

deprecated 4.0-dev

No description

Parameters

null $locale

Return Value

AsDate