Search Results

  1. Return Values ¶ Depending on zone type, UTC offset (type 1), timezone abbreviation (type 2), and timezone identifiers as published in the IANA timezone database (type 3), the descriptor string to create a new DateTimeZone object with the same offset and/or rules. For example 02:00, CEST, or one of the timezone names in the list of timezones.

  2. Valeurs de retour Selon le type de zone, le décalage UTC (type 1), l'abréviation de fuseau horaire (type 2) et les identifiants de fuseau horaire tels que publiés dans la base de données de fuseaux horaires IANA (type 3), la chaîne de description pour créer un nouvel objet DateTimeZone avec le même décalage et/ou les mêmes règles.

  3. Sep 2, 2025 · DateTimeZone::getName — Returns the name of the timezone DateTimeZone::getOffset — Returns the timezone offset from GMT DateTimeZone::getTransitions — Returns all transitions for the timezone DateTimeZone::listAbbreviations — Returns associative array containing dst, offset and the timezone name

  4. Aug 15, 2025 · At its core, DateTimeZone::getName () is a method of the DateTimeZone class in PHP. Its primary purpose is elegantly simple yet profoundly useful: it returns the name of the timezone represented by a DateTimeZone object.

  5. Simple usage example of `DateTimeZone::getName ()`. The DateTimeZone::getName function is a PHP function that returns the name of the timezone. It retrieves the name of a DateTimeZone object, enabling you to obtain the string representation of the timezone.

  6. Oct 11, 2019 · The DateTimeZone::getName () function is an inbuilt function in PHP which is used to return the name of the created timezone. Syntax: DateTimeZone::getName() Parameters: This function does not accept any parameter. Return Values:: This function return the name of the created timezone. Below programs illustrate the DateTimeZone::getName () function: Program 1:

  7. Execute DateTimeZone::getName Online. Info and examples on DateTimeZone::getName PHP Function from Date and Time - Date and Time Related Extensions