<?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: Converter data para idade in Brasil</title>
    <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101638#M5522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Thiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tentei essa função today() também e não obtive resultado. Quando executo o script ele dá uma mensagem informando que function today() does not exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2018 20:35:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-02T20:35:12Z</dc:date>
    <item>
      <title>Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101636#M5520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá pessoal,&lt;/P&gt;&lt;P&gt;Preciso de ajuda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gostaria de converter um data de nascimento em idade pelo script de carregamento dos dados.&lt;/P&gt;&lt;P&gt;O que cheguei mais próximo foi &lt;SPAN style="text-decoration: underline;"&gt;age(NOW(),dt_nascimento) as idade&lt;/SPAN&gt;. Porém, essa função está&lt;/P&gt;&lt;P&gt;me trazendo além da idade, o mês, ano, dia, hora e MM:SS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alguém tem alguma possibilidade para que o script traga só a idade?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Grato.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 20:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101636#M5520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-02T20:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101637#M5521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Considerando o uso da função age, não faz muito sentido usar o now()...Use age(today(),dt_nascimento) as idade.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 20:19:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101637#M5521</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-08-02T20:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101638#M5522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olá Thiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tentei essa função today() também e não obtive resultado. Quando executo o script ele dá uma mensagem informando que function today() does not exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 20:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101638#M5522</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-02T20:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101639#M5523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No script use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Age(Today(1),dt_nascimento) as idade&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 20:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101639#M5523</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-08-02T20:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101640#M5524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nada amigo!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ao rodar o script ele informa que function today(integer) does not exist;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 20:47:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101640#M5524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-02T20:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101641#M5525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bem, algo de errado está sendo feito...&lt;/P&gt;&lt;P&gt;Consegue postar teu script aqui? &lt;/P&gt;&lt;P&gt;Gostaria de ver onde você está executando a sugestão...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2018 20:52:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101641#M5525</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-08-02T20:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101642#M5526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;​Pode ser mesmo esteja fazendo algo de errado.&lt;BR /&gt;O script está desta forma:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15333010774561395 jive_text_macro" jivemacro_uid="_15333010774561395" modifiedtitle="true"&gt;
&lt;P&gt;SQL SELECT "id_usuario_gms",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "no_usuario",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "no_logradouro",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "no_bairro",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id_cep",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "no_municipio",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dt_nascimento",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "in_sexo",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nr_cns",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "end_id_cep",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nu_latitude",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nu_longitude",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age(Today(1),dt_nascimento) as idade&lt;/P&gt;
&lt;P&gt;FROM caminho."usuarios";&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Obrigado pela ajuda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 12:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101642#M5526</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T12:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101643#M5527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A coluna deve ser criada fora do select...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Faz assim:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;*,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #000000; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Age(Today(1),dt_nascimento) &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-style: inherit; color: #006699; font-size: 9pt !important;"&gt;as&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-weight: inherit; font-size: 9pt !important;"&gt;&lt;STRONG&gt; idade; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;SQL &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; background-color: inherit; font-size: 9pt !important;"&gt;SELECT&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt; &lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"id_usuario_gms"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"no_usuario"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"no_logradouro"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"no_bairro"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"id_cep"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"no_municipio"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"dt_nascimento"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"in_sexo"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"nr_cns"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"end_id_cep"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"nu_latitude"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;,&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"nu_longitude"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit; color: #006699; background-color: inherit; font-size: 9pt !important;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt; caminho.&lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit; color: blue; background-color: inherit; font-size: 9pt !important;"&gt;"usuarios"&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; background-color: inherit; font-size: 9pt !important;"&gt;; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;Entendeu? Crie a coluna dentro do load.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 13:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101643#M5527</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-08-03T13:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101644#M5528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Entendi sim. Isso mesmo Thiago. Obrigado pela sua ajuda e paciência.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 14:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101644#M5528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-03T14:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Converter data para idade</title>
      <link>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101645#M5529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sempre à disposição meu amigo!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 19:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Brasil/Converter-data-para-idade/m-p/101645#M5529</guid>
      <dc:creator>Thiago_Justen_</dc:creator>
      <dc:date>2018-08-03T19:41:10Z</dc:date>
    </item>
  </channel>
</rss>

