vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
35 stars 14 forks source link

Add DateTime.TryParseExact to enable parsing custom strings #631

Open antongit opened 1 year ago

antongit commented 1 year ago

Is your feature request related to a problem? Please describe. This node is missing in the CoreLib, and I miss it when I'm trying to parse Date / Time that the user can enter in any custom format I define. We have only TryParse, but it is only working for one predefined format.

image

Describe the solution you'd like Would be good to have it in the CoreLib. https://learn.microsoft.com/en-us/dotnet/api/system.datetime.parseexact?view=net-7.0#system-datetime-parseexact(system-string-system-string()-system-iformatprovider-system-globalization-datetimestyles)