JToken to datetime

I have a date in JsonObject. Can I convert it to datetime easier than doing some operations with strings?

Example data:

JObject(“StartDate”) = [12/08/2021 00:00:00]

I want it to change it right away to datetime variable.

not sure about your question if it is related to assignment or retrieval. Maybe you can reformulate.

About retrieval have a look here:


we can directly get the datetime with the help of Value(Of XX) function:

I did exactly the same thing but in c#.
I did seperate workflow for that and it looks like this.


Anyway, thanks for help :smiley:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.