Optimized datetime, and datetime2 format to omit insignificant fractional seconds.