Docs

evf_get_day_period_date( string $period, string $timestamp = '', string $format = 'Y-m-d H:i:s' ): string

Get the certain date of a specified day in a specified format.

Parameters

$periodstringrequired
Supported values: start, end.
$timestampstringoptional
Default is the current timestamp, if left empty.

Default:''

$formatstringoptional
Default is a MySQL format.

Default:'Y-m-d H:i:s'

Return

string

Changelog

VersionDescription
1.1.0Introduced.