Adding additional comments to the format_datetime function.