toInvariantTime

Returns the invariant time, that is, the time added to the 1980th year of a date object.

Parameters

targetDate Date

The date object to get the invariant time of.

Returns

Date Returns the invariant time, that is, the time added to 1980th year of a date object.

Example

<script>
    var targetDate = new Date(2016,10,5,15,25,11);
    var invariantTime = kendo.date.toInvariantTime(targetDate);
    console.log(invariantTime); //Fri Feb 01 1980 15:25:11 GMT+0200 (FLE Standard Time)
</script>
In this article
Not finding the help you need? Improve this article