<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: what is sql getdate() and today diff? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772085#M273972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Sql Server&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;getdate, Sql Server&lt;/P&gt;&lt;P&gt;gets the current system date and time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Qlik&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;n&lt;SPAN class="Bold" style="font-size: 10pt; line-height: 1.5em;"&gt;ow(&lt;/SPAN&gt;&lt;SPAN class="Italic" style="font-size: 10pt; line-height: 1.5em;"&gt;[ timer_mode]&lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Returns a timestamp of the current time from the system clock.&lt;/P&gt;&lt;P&gt;to get the time at function call (as in Sql), use 1 (default) for parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for time in Qlik&lt;/P&gt;&lt;P&gt;=time(frac(now()), 'hh:mm:ss')&lt;/P&gt;&lt;P&gt;for date in Qlik&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;=date(floor(now()), 'DD/MM/YYYY')&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;frac/floor to get the time/date part&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;time/date to format the time/date part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 21 Dec 2014 17:53:02 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2014-12-21T17:53:02Z</dc:date>
    <item>
      <title>what is sql getdate() and today diff?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772082#M273969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain sql getdate() and qv today() diff ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sql getdate() -- date &amp;amp; time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;qv today() -- date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i want time in qv, how to display?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;@Sub2u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 15:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772082#M273969</guid>
      <dc:creator />
      <dc:date>2014-12-21T15:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: what is sql getdate() and today diff?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772083#M273970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take text box and write the following expression &lt;/P&gt;&lt;P&gt;=now()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 17:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772083#M273970</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-12-21T17:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: what is sql getdate() and today diff?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772084#M273971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try also for current Date&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14191816651647951" jivemacro_uid="_14191816651647951"&gt;
&lt;P&gt;Timestamp( Today())&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Current Date and Time And Current Time use following&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14191817467033902" jivemacro_uid="_14191817467033902" modifiedtitle="true"&gt;
&lt;P&gt;=Time( Now(),'hh:mm:ss TT')&lt;/P&gt;
&lt;P&gt;=Time( Now(),'hh:mm:ss')&lt;/P&gt;
&lt;P&gt;=Now()&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Timefunctions.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73973_Timefunctions.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 17:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772084#M273971</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-12-21T17:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: what is sql getdate() and today diff?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772085#M273972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Sql Server&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;getdate, Sql Server&lt;/P&gt;&lt;P&gt;gets the current system date and time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Qlik&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;n&lt;SPAN class="Bold" style="font-size: 10pt; line-height: 1.5em;"&gt;ow(&lt;/SPAN&gt;&lt;SPAN class="Italic" style="font-size: 10pt; line-height: 1.5em;"&gt;[ timer_mode]&lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Returns a timestamp of the current time from the system clock.&lt;/P&gt;&lt;P&gt;to get the time at function call (as in Sql), use 1 (default) for parameter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for time in Qlik&lt;/P&gt;&lt;P&gt;=time(frac(now()), 'hh:mm:ss')&lt;/P&gt;&lt;P&gt;for date in Qlik&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;=date(floor(now()), 'DD/MM/YYYY')&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;frac/floor to get the time/date part&lt;/P&gt;&lt;P style="font-size: 13.3333339691162px;"&gt;time/date to format the time/date part&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 17:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772085#M273972</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-12-21T17:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: what is sql getdate() and today diff?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772086#M273973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all, got it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Dec 2014 18:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-sql-getdate-and-today-diff/m-p/772086#M273973</guid>
      <dc:creator />
      <dc:date>2014-12-21T18:37:36Z</dc:date>
    </item>
  </channel>
</rss>

