Created
November 19, 2010 22:19
-
-
Save atifaziz/707300 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Microsoft (R) F# 2.0 Interactive build 2.0.0.0 | |
Copyright (c) Microsoft Corporation. All Rights Reserved. | |
For help type #help;; | |
> open System.Xml;; | |
> let d = XmlConvert.ToDateTime("2010-11-10", XmlDateTimeSerializationMode.Local);; | |
System.FormatException: Invalid format string | |
at System.DateTime.ParseExact (System.String s, System.String[] formats, IFormatProvider provider, DateTimeStyles style) [0x00000] in <filename unknown>:0 | |
at System.Xml.XmlConvert.ToDateTime (System.String s, System.String[] formats, DateTimeStyles style) [0x00000] in <filename unknown>:0 | |
at System.Xml.XmlConvert.ToDateTime (System.String s, System.String[] formats) [0x00000] in <filename unknown>:0 | |
at System.Xml.XmlConvert.ToDateTime (System.String value, XmlDateTimeSerializationMode mode) [0x00000] in <filename unknown>:0 | |
at <StartupCode$FSI_0004>.$FSI_0004.main@ () [0x00000] in <filename unknown>:0 | |
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod*,object,object[],System.Exception&) | |
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 | |
Stopped due to error | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment