DateTime problem in UtcDateRenderer

Sep 25, 2010 at 2:22 PM


I have experienced some problems using the general format "G" in UtcDateRenderer. In particular the code I have downloaded break with the error 

System.Data.SqlClientException: Arithmetic overflow error converting expression to data type datetime

I had to temporarily change the format to

this.Format = "dd/MM/yyyy hh:mm:ss";

to make it working but this it is not the right way to handle.