toHttpDateString

Deprecated (with error)

This will be removed in future releases.

Replace with

import io.ktor.util.date.GMTDate
GMTDate(this).toHttpDate()

Format epoch milliseconds as HTTP date (GMT)

Format as HTTP date (GMT)