Documentation

toString

string public
\Bitrix\Main\Type\DateTime::toString(
 \Bitrix\Main\Context\Culture $culture = null
);

Non-static method converts date into string using regional language settings and global timezones settings.

Parameters

ParameterDescriptionVersion
$cultureDate and time format for germinal settings.

Example



© «Bitrix24», 2001-2024
Up