Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy