Function getCurrentDateTime

  • Returns the current date time

    Parameters

    • format: string = 'yyyy-MM-dd hh:mm:ss'

      the date time format string

    Returns string

    the current date time