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