Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
How might I get the number of seconds between NOW() and a date in the database? I checked various other resources like this But was not fully satisfied with whether what I was doing is correct or not. Can someone Guide me?
Much appreciated.
Discussion posts and replies are publicly visible
1. If you are trying to perform this on the Appian side you can simply subtract the dates and use the second() function to get the dates out of it.
2. If you are using MariaDB try this out
SELECT SECOND(TIMEDIFF(CURRENT_TIMESTAMP,'2022-09-24 20:18:50'));