Friday, March 22, 2013

The 5 laws of API dates and times

Repost from

In short:

Law #1: Use ISO-8601 for your dates
Law #2: Accept any timezone
Law #3: Store it in UTC
Law #4: Return it in UTC
Law #5: Don’t use time if you don’t need it

No comments:

Post a Comment