date - convert string to System.DateTime in F# -


if string command line , looks this:

'1-1-2011' 

how can convert string datetime object in f#?

you this:

let datetime = system.datetime.parse "1-1-2011" 

Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

web applications - Making Python scripts work on MAMP -

cocoa - Converting NSString to keyCode+modifiers for AXUIElementPostKeyboardEvent -