web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Inverse Ticks Datetime...
Power Automate
Unanswered

Inverse Ticks Datetime in Expression

(0) ShareShare
ReportReport
Posted on by 107

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!

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard