IntlGregorianCalendar::setGregorianChange
PHP Manual
PHP Manual»IntlGregorianCalendar»IntlGregorianCalendar::setGregorianChange

IntlGregorianCalendar::setGregorianChange

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

IntlGregorianCalendar::setGregorianChange — Establece la fecha de cambio del calendario gregoriano

Descripción

Estilo orientado a objetos

public function IntlGregorianCalendar::setGregorianChange(float $timestamp): bool

Estilo procedimental

function intlgregcal_set_gregorian_change(IntlGregorianCalendar $calendar, float $timestamp): bool

Establece la fecha de cambio gregoriana.

Parámetros

calendar

Una instancia de IntlGregorianCalendar.

timestamp

Instante del cambio, expresado como una marca de tiempo Unix en milisegundos.

Valores devueltos

Esta función retorna true en caso de éxito o false si ocurre un error.

To Top