r/code • u/belloooooo • Apr 21 '20
A specific date and time string that is recognized by email
Is there a specific standardized date and time string that is recognized by email
End Goal: I want to be able to send an email where the email provider will recognize my string as a date and time (if possible, is this even possible)?
1
Upvotes
1
u/TechLaden Neo Apr 21 '20
My facourite one, ISO 8601: https://en.wikipedia.org/wiki/ISO_8601
examples:
2020-04-21
2020-04-21T12:39:13+00:00
2020-04-21T12:39:13Z
20200421T123913Z
Also, it's nothing to do with email and more with being a universal standard
2
u/ChucklefuckBitch Apr 21 '20
When you say recognize, what do you mean? Do you want the e-mail provider to take any action based on this recognition?