Function getCurrentTime

  • Returns the current time

    Parameters

    • format: string = 'hh:mm:ss'

      the time format string

    Returns string

    the current time