<?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 HOW DO I FORMAT THE DATE FIELD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279253#M1203265</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;I have this table which the date field is in this format 'DD/MM/YYY' (MasterMarkit) I have set the script so that the MasterMarkit concatenates to the MasterBloomberg&lt;/P&gt;&lt;P&gt;However the problem is the MasterBloomberg is in this date this date format 'yyyy-mm-dd' and I need to convert the MasterMarkit to this format&lt;/P&gt;&lt;P&gt;Can someone guide me on how to write the code where when I bring in the date field in MasterMarkit it converts it to yyyy-mm-dd&lt;/P&gt;&lt;P&gt;This is my script so far&lt;/P&gt;&lt;P&gt;MasterBloomergvol:&lt;BR /&gt;LOAD "&lt;BR /&gt; BBTicker,&lt;BR /&gt; "EQY_TURNOVER",&lt;BR /&gt; "EQY_TURNOVER_EUR",&lt;BR /&gt; "PX_LAST",&lt;BR /&gt; "mastproav_date" as Turnover_Date,&lt;BR /&gt; Year(mastproav_date) as TYEAR,&lt;BR /&gt; Month (mastproav_date)as TMONTH;&lt;BR /&gt;&lt;BR /&gt;SQL SELECT,&lt;BR /&gt; BBTicker,&lt;BR /&gt; "EQY_TURNOVER",&lt;BR /&gt; "EQY_TURNOVER_EUR",&lt;BR /&gt; "PX_LAST"&lt;BR /&gt;&lt;BR /&gt;FROM AUM.dbo.masterprodaumvol;&lt;BR /&gt;&lt;BR /&gt;Concatenate (MasterBloomergvol)&lt;BR /&gt;&lt;BR /&gt;MasterMarkit:&lt;BR /&gt;LOAD&lt;BR /&gt; "msamk_ticker",&lt;BR /&gt; "msamk_startdate" as Turnover_Date,&lt;BR /&gt; "msamk_turnoverbroker",&lt;BR /&gt; "msamk_turnovertotal",&lt;BR /&gt; Year(msamk_startdate) as TYEAR,&lt;BR /&gt; Month (msamk_startdate)as TMONTH;&lt;BR /&gt;&lt;BR /&gt;SQL SELECT&lt;BR /&gt; "msamk_ticker",&lt;BR /&gt; "msamk_startdate",&lt;BR /&gt; "msamk_turnoverbroker",&lt;BR /&gt; "msamk_turnovertotal"&lt;BR /&gt;FROM msamarkit.dbo.msamarkit;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Sep 2010 10:34:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-28T10:34:02Z</dc:date>
    <item>
      <title>HOW DO I FORMAT THE DATE FIELD</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279253#M1203265</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;I have this table which the date field is in this format 'DD/MM/YYY' (MasterMarkit) I have set the script so that the MasterMarkit concatenates to the MasterBloomberg&lt;/P&gt;&lt;P&gt;However the problem is the MasterBloomberg is in this date this date format 'yyyy-mm-dd' and I need to convert the MasterMarkit to this format&lt;/P&gt;&lt;P&gt;Can someone guide me on how to write the code where when I bring in the date field in MasterMarkit it converts it to yyyy-mm-dd&lt;/P&gt;&lt;P&gt;This is my script so far&lt;/P&gt;&lt;P&gt;MasterBloomergvol:&lt;BR /&gt;LOAD "&lt;BR /&gt; BBTicker,&lt;BR /&gt; "EQY_TURNOVER",&lt;BR /&gt; "EQY_TURNOVER_EUR",&lt;BR /&gt; "PX_LAST",&lt;BR /&gt; "mastproav_date" as Turnover_Date,&lt;BR /&gt; Year(mastproav_date) as TYEAR,&lt;BR /&gt; Month (mastproav_date)as TMONTH;&lt;BR /&gt;&lt;BR /&gt;SQL SELECT,&lt;BR /&gt; BBTicker,&lt;BR /&gt; "EQY_TURNOVER",&lt;BR /&gt; "EQY_TURNOVER_EUR",&lt;BR /&gt; "PX_LAST"&lt;BR /&gt;&lt;BR /&gt;FROM AUM.dbo.masterprodaumvol;&lt;BR /&gt;&lt;BR /&gt;Concatenate (MasterBloomergvol)&lt;BR /&gt;&lt;BR /&gt;MasterMarkit:&lt;BR /&gt;LOAD&lt;BR /&gt; "msamk_ticker",&lt;BR /&gt; "msamk_startdate" as Turnover_Date,&lt;BR /&gt; "msamk_turnoverbroker",&lt;BR /&gt; "msamk_turnovertotal",&lt;BR /&gt; Year(msamk_startdate) as TYEAR,&lt;BR /&gt; Month (msamk_startdate)as TMONTH;&lt;BR /&gt;&lt;BR /&gt;SQL SELECT&lt;BR /&gt; "msamk_ticker",&lt;BR /&gt; "msamk_startdate",&lt;BR /&gt; "msamk_turnoverbroker",&lt;BR /&gt; "msamk_turnovertotal"&lt;BR /&gt;FROM msamarkit.dbo.msamarkit;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 10:34:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279253#M1203265</guid>
      <dc:creator />
      <dc:date>2010-09-28T10:34:02Z</dc:date>
    </item>
    <item>
      <title>HOW DO I FORMAT THE DATE FIELD</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279254#M1203266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;You will have to do the following in MasterBloomergvol:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Date(Date#(mastproav_date, 'DD/MM/YYYY')) AS Turnover_Date,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;and the following in MasterMarkit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Date(Date#(msamk_startdate, 'YYYY-MM-DD')) AS Turnover_Date,&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 11:01:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279254#M1203266</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-09-28T11:01:14Z</dc:date>
    </item>
    <item>
      <title>HOW DO I FORMAT THE DATE FIELD</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279255#M1203267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;&lt;I&gt;MasterBloomergvol:&lt;/I&gt;&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;&lt;B&gt;LOAD&lt;/B&gt; "&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;EQY_TURNOVER",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"EQY_TURNOVER_EUR",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"PX_LAST",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"mastproav_date" &lt;B&gt;as&lt;/B&gt; Turnover_Date,&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;Year(mastproav_date) &lt;B&gt;as&lt;/B&gt; TYEAR,&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;Month (mastproav_date)&lt;B&gt;as&lt;/B&gt; TMONTH&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;date(mastproav_date,'DD/MM/YYYY') &lt;B&gt;AS&lt;/B&gt; DATE;&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;SQL SELECT,&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;BBTicker,&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"EQY_TURNOVER",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"EQY_TURNOVER_EUR",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"PX_LAST"&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;&lt;B&gt;FROM&lt;/B&gt; AUM.dbo.masterprodaumvol;&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;Concatenate (MasterBloomergvol)&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;MasterMarkit:&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;LOAD&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"msamk_ticker",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"msamk_startdate" as Turnover_Date,&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"msamk_turnoverbroker",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"msamk_turnovertotal",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;DATE (msamk_startdate,'DD/MM/YYYY')as DATE;&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;SQL SELECT&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"msamk_ticker",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"msamk_startdate",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"msamk_turnoverbroker",&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;"msamk_turnovertotal"&lt;BR style="margin:0in 0in 0pt;line-height:normal;mso-layout-grid-align:none;" /&gt;msamarkit.dbo.msamarkit;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 11:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279255#M1203267</guid>
      <dc:creator />
      <dc:date>2010-09-28T11:08:33Z</dc:date>
    </item>
    <item>
      <title>HOW DO I FORMAT THE DATE FIELD</title>
      <link>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279256#M1203268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.......................... it worked!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Sep 2010 11:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/HOW-DO-I-FORMAT-THE-DATE-FIELD/m-p/279256#M1203268</guid>
      <dc:creator />
      <dc:date>2010-09-28T11:45:03Z</dc:date>
    </item>
  </channel>
</rss>

