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>
    var targetDate = new Date(2016,10,5,15,25,11);
    var abbr = kendo.timezone.abbr(targetDate, "Europe/Sofia");
    console.log(abbr); // EET
</script>
In this article
Not finding the help you need?