version: 2.1.3







time2string

Convert datetime or timestamp to array

Parameters

datetime string datetime for converting to string, you can pass timestamp Yes

Method errors

ErrorNamedescription
datetime parameter not found parameter datetime not founded , set it like example

Method examples

$this->time2string(['datetime'=>1636913656]);

Method alices

There is no alices

Method output :

Boolean|array