Hour2400Transformer::normalizeHour()

int normalizeHour(int $hour, string $marker = null)

Returns a normalized hour value suitable for the hour transformer type.

Parameters

int $hour The hour value
string $marker An optional AM/PM marker

Return Value

int The normalized hour value
doc_Symfony
2016-10-28 06:20:30
Comments
Leave a Comment

Please login to continue.