When trying to insert a TimeStamp value like this:
var preparedInsert = connection.CreateStatement(SqlInsertInto).Prepare();
preparedInsert.SetParameterValue(0, new DateTime(2020, 10, 20, 15, 15, 15));
I get the following error:
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length