It wouldn't. The consumer would need to know to expect a date as a string and parse it.