<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><p style="margin:0px;text-indent:0px">I spotted a few trailing blanks. Maybe, you can teach your editor to</p>
<p style="margin:0px;text-indent:0px">automatically remove those when saving.</p></blockquote><div><br></div><div>Thanks. Removed them and configured my editor too.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p style="margin:0px;text-indent:0px">Is there a specific reason why you convert the date into a numeric value (julianday())</p>
<p style="margin:0px;text-indent:0px">and don't use the SQLite date type?</p></div></blockquote><div><br></div><div>SQLite does not have a DATE type. <br></div><div>From <a href="https://www.sqlite.org/datatype3.html">https://www.sqlite.org/datatype3.html</a> :</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><p>SQLite does not have a storage class set aside for storing
dates and/or times.
Instead, the built-in <a href="https://www.sqlite.org/lang_datefunc.html">Date And Time Functions</a> of SQLite are capable of 
storing dates and times as TEXT, REAL, or INTEGER values:</p>

<ul><li><b>TEXT</b> as ISO8601 strings ("YYYY-MM-DD HH:MM:SS.SSS").
</li><li><b>REAL</b> as Julian day numbers, the number of days since
noon in Greenwich on November 24, 4714 B.C. according to the
proleptic Gregorian calendar.
</li><li><b>INTEGER</b> as Unix Time, the number of seconds since
1970-01-01 00:00:00 UTC.
</li></ul>

<p>Applications can chose to store dates and times in any of these
formats and freely convert between formats using the built-in
<a href="https://www.sqlite.org/lang_datefunc.html">date and time functions</a>.</p></div></blockquote><div>Since I have to compare the validity date with the current date while reading data in the library code, so I thought TEXT was not a good idea. I looked online and saw REAL being used more often than INTEGER. So chose REAL.</div><div><br></div><div>Thanks.</div><div>Prasun  <br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 10 Jun 2020 at 01:03, Thomas Baumgart <<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div style="font-family:"Monospace";font-size:10pt;font-weight:400;font-style:normal">
<p style="margin:0px;text-indent:0px">Prasun,</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">On Montag, 8. Juni 2020 20:01:09 CEST Prasun Kumar wrote:</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">> Yeah, forgot about that. Thanks for reminding.</p>
<p style="margin:0px;text-indent:0px">> </p>
<p style="margin:0px;text-indent:0px">> BTW did you have a look at the commits I made? I have made some changes to</p>
<p style="margin:0px;text-indent:0px">> the CMake build system and frankly I have not had much previous experience</p>
<p style="margin:0px;text-indent:0px">> with CMake. Can you verify that I have not added anything that could cause</p>
<p style="margin:0px;text-indent:0px">> problems in the future?</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">I am not a CMake expert myself but things look OK to me. </p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">I spotted a few trailing blanks. Maybe, you can teach your editor to</p>
<p style="margin:0px;text-indent:0px">automatically remove those when saving. See this screenshot:</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"><img src="cid:1729bd8898c5faa95b1"></p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Is there a specific reason why you convert the date into a numeric value (julianday())</p>
<p style="margin:0px;text-indent:0px">and don't use the SQLite date type?</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Thomas</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">-- </p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Regards</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px">Thomas Baumgart</p>
<p style="margin:0px;text-indent:0px"> </p>
<p style="margin:0px;text-indent:0px"><a href="https://www.signal.org/" target="_blank">https://www.signal.org/</a>       Signal, the better WhatsApp</p>
<p style="margin:0px;text-indent:0px">-------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px">Flying is absolutely safe as long as you land as often</p>
<p style="margin:0px;text-indent:0px">as you take off. -- Klaus Klages</p>
<p style="margin:0px;text-indent:0px">-------------------------------------------------------------</p>
<p style="margin:0px;text-indent:0px"> </p></div></blockquote></div>