[Vuejs]-TimePicker – retrieving actual values selected (hour and minute)

0πŸ‘

βœ…

v-model can hold only one value so it’s Date which includes the Time (hour & minutes).

You can always parse the hour and minutes from the date object,

console.log(this.yourTimeValue.getHours() + ":" + this.yourTimeValue.getMinutes());

Leave a comment