createFromPhp
static public static \Bitrix\Main\Type\DateTime::createFromPhp( \DateTime $datetime );
Static method creates object of class \DateTime
from object's \DateTime PHP.
Parameters
Parameter | Description | Version |
---|---|---|
$datetime | Source object. |
Example
© «Bitrix24», 2001-2024
Up