Timestamp to ISO 8601 PHP

    Опубликовано Andres - чт, 10/31/2019 - 11:02

    $node_created_iso_8601 = date("Y-m-d\TH:i\Z", $timestamp );
    // pr(date_format(date_timestamp_set(new DateTime(), $timestamp ), 'c'));

    Источник: https://ruphp.com/datetime-iso-8601-php.html

    Теги