https://bugzilla.novell.com/show_bug.cgi?id=430205
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=430205#c1 Summary: VB: Invalid conversion from Double to Date Product: Mono: Runtime Version: 1.9 Platform: i686 OS/Version: Ubuntu Status: NEW Severity: Normal Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] QAContact: [email protected] Found By: Community User I did a test with the following vb code fragment: Public Class Application Public Shared Sub Main() Dim datum as Date Dim oDatum as Object oDatum = CDate("10.10.2008").ToOADate datum = oDatum System.Console.WriteLine(datum) End Sub End Class This gives the (false) result of 01.01.0001 00:00:00 on mono. On Windows with .net this gives an InvalidCastException during runtime. Visual Basic.Net Compiler version 0.0.0.5851 Mono JIT compiler version 1.9.1 (tarball) Linux avion 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
