[SOLVED] Help - DateTime.fromFormat
Hi everyone, I am stuck in a rut.
Trying to get the difference in minutes between two dates.
  1. I create a UUID using this expression: `{{ $now.format('yyMMddHHmmssuu') }}`
  2. Then I want to convert this UUID back into a DateTime using the DateTime.fromFormat() function
  3. Having converted the UUID into a proper DateTime, I want to use the DiffToNow() to get the diff in minutes.
ISSUE: step 2 errors with "Invalid DateTime"
What am I missing?
2
2 comments
Valentin Ffrench
5
[SOLVED] Help - DateTime.fromFormat
AI Automation Society
skool.com/ai-automation-society
A community for mastering AI-driven automation and AI agents. Learn, collaborate, and optimize your workflows!
Leaderboard (30-day)
Powered by