Demonstrates how to encode and decode datetime strings in ISO format, such that they can be stored in a SQL database.