Page 1 of 1

ToString() and DateTime? V2106.1

Posted: Thu Apr 07, 2016 1:31 pm
by ChrDressler
Hi,

in V2015.3, I can format a nullable DateTime via DataTable1.Date1.ToString(""YY.MM.dd").
In V2016.1, this throws ToString() cant have 1 parameter (...)

This is a breaking change. :o
What can i do? I can't fix the many reports of my customers :roll:

Regards,
Christoph

Re: ToString() and DateTime? V2106.1

Posted: Fri Apr 08, 2016 11:12 am
by HighAley
Hello, Christoph.

Yes, we tried to set the type of the DateTime column automatically, but after feedback from our customers we reverted our changes.
Please, upgrade to the latest build.

If you need to get Nullable types, you could use next static options:

Code: Select all

StiOptions.Dictionary.UseNullableDateTime
StiOptions.Dictionary.UseNullableTimeSpan
Thank you.

Re: ToString() and DateTime? V2106.1

Posted: Wed Apr 13, 2016 6:52 am
by ChrDressler
Ok, works fine now :-)

Re: ToString() and DateTime? V2106.1

Posted: Thu Apr 14, 2016 6:34 am
by Alex K.
Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.