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
Parameter | Description | Version |
---|---|---|
$culture | Date and time format for germinal settings. |
Example
© «Bitrix24», 2001-2024
Up