I am trying to create a datetime formatted as "inverse ticks" in order to use as a rowkey for an azure storage table. I have an example of how this works in C#, but am having a hard time figuring out how to convert this expression to the Workflow Definition Language in a flow / logic app.
These are the C# expressions to convert to and from inverse ticks:
string invertedTicks = string.Format("{0:D19}", DateTime.MaxValue.Ticks - DateTime.UtcNow.Ticks);
DateTime dt = new DateTime(DateTime.MaxValue.Ticks - Int64.Parse(invertedTicks));
Can someone help me implement something equivalent in workflow definition language?
Thanks!

Report
All responses (
Answers (