abbr

Returns the timezone abbreviation.

Parameters

targetDate Date

The date that will be used to get the timezone abbreviation of.

timezone String

The name of the particular timezone that will be used to get the abbreviation of.

Returns

String Returns the timezone abbreviation.

Example

<script>
    // include kendo.timezones.js
    var version = kendo.version;

    $('<script/>', { 
        type:'text/javascript', 
        src:'https://kendo.cdn.telerik.com/'+version+'/js/kendo.timezones.min.js'
    }).appendTo('head');
</script>

<script>
    var targetDate = new Date(2016,10,5,15,25,11);
    var abbr = kendo.timezone.abbr(targetDate, "Europe/Sofia");
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(abbr); // EET
</script>
In this article