(PHP 5 >= 5.2.0, PHP 7)
Returns the name of the timezone
public string DateTimeZone::getName ( void )
Object oriented style
Procedural style
Returns the name of the timezone.
Parameters:
object
The DateTimeZone for which to get a name.
Returns:
One of the timezone names in the list of timezones.
Please login to continue.