get current time in minutes javascript code example Example: js get current time minutes const date = new Date() const minutes = date.getMinutes()