<?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 operations  in mysql</title><link>https://community.appian.com/discussions/f/general/11943/date-operations-in-mysql</link><description>I have the following queries in mysql . The valid data exists in the database for both queries but The first query is working but the second is not . do we use any functions to operate on dates ? 
 The difference between these queries are just the last</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Date operations  in mysql</title><link>https://community.appian.com/thread/52841?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 21:37:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dff07139-3908-4bd5-bb3e-5304b090d9f7</guid><dc:creator>Shreehari Gopalakrishnan Ramanan</dc:creator><description>Thanks . it worked&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Date operations  in mysql</title><link>https://community.appian.com/thread/52839?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 20:36:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b3ddc773-1ae1-4129-8fe9-fd4440a43060</guid><dc:creator>aloks0189</dc:creator><description>Hi @Ramanan  try using between operator to deal with range of date, as mention below:&lt;br /&gt;
&lt;br /&gt;
WHERE .............. AND (date_field BETWEEN &amp;#39;2010-01-30&amp;#39; AND &amp;#39;2010-09-29&amp;#39;)&lt;br /&gt;
&lt;br /&gt;
Make sure that, min date will be placed first followed by Max date as shown above.&lt;br /&gt;
&lt;br /&gt;
Hope this will help.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>