Creates a new RFCDate instance using the provided input. If a string is used then in must be in the format YYYY-MM-DD.
A Date object or a date string in YYYY-MM-DD format
new RFCDate("2022-01-01") Copy
new RFCDate("2022-01-01")
new RFCDate(new Date()) Copy
new RFCDate(new Date())
Static
Creates a new RFCDate instance using today's date.
Creates a new RFCDate instance using the provided input. If a string is used then in must be in the format YYYY-MM-DD.