@mindfulness/utils
    Preparing search index...

    Function getMinutes

    • Parameters

      • date: string | number | Date

        The given date

      • Optionaloptions: GetMinutesOptions

        The options

      Returns number

      The minutes

      getMinutes

      Get the minutes of the given date.

      // Get the minutes of 29 February 2012 11:45:05:
      const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5))
      //=> 45