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

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

binding - How can you make the color of elements of a WPF DrawingImage dynamic? -

c# - How to add a new treeview at the selected node? -