<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Date difference</title><link>https://community.appian.com/discussions/f/general/26013/date-difference</link><description>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.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Date difference</title><link>https://community.appian.com/thread/101806?ContentTypeID=1</link><pubDate>Sat, 24 Sep 2022 20:22:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fafc7f0e-bcc6-4406-9178-1db3b919c604</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;2. If you are using MariaDB try this out&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;SELECT SECOND(TIMEDIFF(CURRENT_TIMESTAMP,&amp;#39;2022-09-24 20:18:50&amp;#39;));&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>