Webportal v1

embedded apps

API Reference - Car.Time.Hours()

Car.Time.Hours()

Type Method
Min Privacy Full
wave 3
wave 4

Car.Time.Hours()

Description Gets the current hour of the car.
Response Number Hour part of the car time.
Parameter Void

Example

1
2
3
4
5
6
//Update the time values
Car.GetTime()

//Updated time values
var CurrentHour = Car.Time.Hours()
// CurrentHour = 13 hours

Remark

Note: Car.GetTime should always be called before reading time values to make sure all the values are synchronized.

Appeared in Software version 30.04.64.40