#nodejs

Foolproof Patterns For Handling Date & Time

Foolproof Patterns For Handling Date & Time

January 20, 2022 • 4 min read

Date and time can be tricky when you consider time zones, client side vs server side time and determining the best patterns for handling database records based on date and time. Considerations on how to store date and time server side usually comes down to how easy it is to retrieve a record based on some time fields, how easy it is to manipulate and how readable the format is.