getMinutes method
getMinutes method ကို
ရက်စွဲအတွက် object
ပေါ်တွင် အသုံးပြုပြီး လက်ရှိ
မိနစ်တန်ဖိုး (0 မှ 59 အထိ နံပါတ်) ကို ပြန်ပေးသည်။
Syntax
date.getMinutes();
ဥပမာ
လက်ရှိမိနစ်အရေအတွက်ကို ထုတ်ကြည့်ရအောင်။
let date = new Date();
let res = date.getMinutes();
console.log(res);
ဆက်လက်ဖတ်ရှုရန်
-
getHoursmethod,
အချိန်နာရီများကို ရယူပေးသည် -
getSecondsmethod,
စက္ကန့်များကို ရယူပေးသည် -
getMillisecondsmethod,
မီလီစက္ကန့်များကို ရယူပေးသည်