Part 3: After the Date

Part 1 of this series examined how handling date and time presents a slightly different challenge than other data types. Part 2 focused on design-time considerations, including schema, validation, and operation definitions. In Part 3, we will look at some of the implementation aspects, and I will useĀ javascriptĀ as the language here. Accepting date-time If you are building an API, enforce a standard format. I generally useĀ ISO 8601Ā for date, time, and timestamps....

July 11, 2023 Ā· 6 min

Part 2: The Second Date

Part 1 highlighted the complexity of handling date and time. Part 2 focuses on design-time considerations, including schema, validation, and defining operations. I have been part of multiple teams where we had to design data schemas. When it came to storing date and time, we just slapped on the ISO 8601 format (which, if you ask me, is the only format you would ever need). ISO 8601 format has date, time, and timezone information....

July 10, 2023 Ā· 5 min