Function dateToFileName

  • Parameters

    • date: Date

      To convert to a string.

    Returns string

    Like the MySQL format, but avoids the colon because that's not valid in a file name.