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 -

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

java - netbeans "Please wait - classpath scanning in progress..." -