[Mono-list] System.DateTime.FromOADate

Sebastien Pouliot sebastien.pouliot at gmail.com
Wed Oct 17 17:00:30 EDT 2007


Hello Bernhard,

Before changing everything I suggest that you invest a little time to
debug the issue you have with Indy/Mono.

As stated in bug #333700 the issue isn't in DateTime.FromOADate (the
supplied value is out of range). However if this works on Windows then
we can assume there is *a* bug somewhere (and probably close).

My personal guess is that happens during parsing the date string...

On Wed, 2007-10-17 at 22:38 +0200, ng at global-mailer.mine.nu wrote:
> Hi there,
> 
> does anybody know an alternative for Indy (especially NNTP), working on
> both Linux/mono and .NET ? Running our application on
> Windows servers instead of Linux/mono would be a worst case, and there's
> no time to re-invent the wheel.
> 
> Bernhard Fischer
> 
> > Hi there,
> >
> > I read about System.DateTime issues in mono, and now I'm facing one
> > myself.
> > The System.DateTime.FromOADate method produces an exception (on mono)
> > when the date has a negative UTC offset. I am using Indy.NNTP in my
> > project. Because of this issue, I can't get a news article's date on
> > mono. Are there any known workarounds for this ?
> >
> > Bernhard Fischer
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list