I have the following date format in a field which is formatted as "27 year(s), 0 month(s), 19 day(s)", and a second field called Dataset Date which shows "2025-09-16".
Can someone help me with a Formula that calculates the date (in yyyy-mm-dd date format) that was "27 year(s), 0 month(s), 19 day(s)" ago?
Regards
Jay
Solved! Go to Solution.
Hi @jay_hl
Here is one way of doing it. First you need to parse out the numbers for year, month, and day using Regex and Tokenize, then in one large formula subtract each section from your date - years first, then months, then finally days:
You can use a regex tool or formula tools to parse your data first, then you can use a datetime tool to convert it back to the dateime format
User | Count |
---|---|
107 | |
85 | |
76 | |
54 | |
40 |