Replies: 1 comment 2 replies
-
hello @dsalzman , |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have 2 tables. 1 meetings and 1 contacts. meetings have a date column. Contacts can have many meetings. I did a relationship and rollup to grab all the dates per contact into a column.
Then I have a formula column to grab the latest meeting date.
${new Date(row.Last_Contact.split(",").map((dates) => Date.parse(dates.trim())).sort().reverse()[0]).toLocaleDateString()}
My question is how to convert that value back to a luxon datetime to calculate days since last contact. My current try is
${DateTime.fromFormat(row.last_contact_date,'MM.dd.yyy').diffNow("days")}
If anyone can help that would be great!
Beta Was this translation helpful? Give feedback.
All reactions