<?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 Removing the Time from Timestamp from Google Doc in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248515#M94566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to remove the time from the Timestamp of a google doc spreadsheet. I need to get the date only for display and grouping purposes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2011 17:59:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-05-27T17:59:30Z</dc:date>
    <item>
      <title>Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248515#M94566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to remove the time from the Timestamp of a google doc spreadsheet. I need to get the date only for display and grouping purposes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 17:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248515#M94566</guid>
      <dc:creator />
      <dc:date>2011-05-27T17:59:30Z</dc:date>
    </item>
    <item>
      <title>Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248516#M94567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To convert a timestamp to a date, you need to round the underlying numeric value to remove the decimals corresponding to the time. After this you convert the numeric value to a date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;LOAD&lt;BR /&gt;date(floor(TimestampField)) AS Date&lt;BR /&gt;FROM DataSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Staffan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 12:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248516#M94567</guid>
      <dc:creator />
      <dc:date>2011-05-28T12:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248517#M94568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I add the code from above it loads a blank field. I've added a quick Qlikview that has a link to a timestamp in a Google Doc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 15:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248517#M94568</guid>
      <dc:creator />
      <dc:date>2011-05-31T15:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248518#M94569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Does anyone have any ideas on getting the timestamp out of a google doc? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the date(floor(timestampfield)) as DATE but it did not work for me. Can anyone make it work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 19:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248518#M94569</guid>
      <dc:creator />
      <dc:date>2011-06-06T19:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248519#M94570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Subfield(Google_Date,' ',1) as DatePart&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 20:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248519#M94570</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-06-06T20:32:50Z</dc:date>
    </item>
    <item>
      <title>Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248520#M94571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to get the time or the date? date(floor(timestampfield)) will give you the date associated with the field and would give you a null if you tried to specify it was a timestamp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12//01/2011 10:55:22&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you wanted to get 10:55:22 you could do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(right(timestampfield,8))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;timestamp(subfield(timestampfield,' ',2)).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 02:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248520#M94571</guid>
      <dc:creator />
      <dc:date>2011-06-07T02:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248521#M94572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The datetime field is a string so you need to use the timestamp#() function to read it. eg &lt;/P&gt;&lt;P&gt;timestamp#(F2,'MM/DD/YYYY hh:mm:ss') as Datetime_Google&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is a an example -- using preceeding load instead of the RESDENT load. The timestamp#() method remains the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 05:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248521#M94572</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-06-07T05:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248522#M94573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use dayname() instead of date(floor()).&amp;nbsp; dayname() sets the timestamp to 12:00:00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dayname(Datetime_Google) as Date should do the same as date(floor(Datetime_Google)) as Date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 07:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248522#M94573</guid>
      <dc:creator>colinh</dc:creator>
      <dc:date>2011-06-07T07:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248523#M94574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob's addition definitely should get this to work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to add a note regarding the use of string functions as left() and right() to convert timestamps.&lt;BR /&gt;What you need to keep in mind is that timestamps, dates and times are represented by both a string value and a numeric value.&lt;/P&gt;&lt;P&gt;Example:&lt;BR /&gt;String | Numeric&lt;BR /&gt;2011-06-07 09:00:00 | 40701.375&lt;/P&gt;&lt;P&gt;2011-06-07 12:00:00 | 40701.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you were to read this field using left(Field, 10), you would strip the time from the string representation but not from the numeric value. The effect this has is that they will be considered as two different values by QlikView and will not link to the same values in other fields.&lt;/P&gt;&lt;P&gt;To avoid this you should instead modify the numeric value and then convert the field using e.g. date() to the desired string representation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 07:38:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248523#M94574</guid>
      <dc:creator />
      <dc:date>2011-06-07T07:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248524#M94575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; swn,&lt;/P&gt;&lt;P&gt;Thanks for the explaining. One question though. If you use the TimeStamp#() function don't you keep the numerical date but only format the field to a timestamp? If Sith88 is trying to get only get the timestamp, regardless of day, is there any way do this without converting it to a string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the past I've had to resort to timestamp#(timestamp(right(F2,8))) to get it to match other true timestamp fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 13:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248524#M94575</guid>
      <dc:creator />
      <dc:date>2011-06-07T13:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248525#M94576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks to all for the help. Krishnamoorthy solution worked well. I'm not sure of how Google keeps timestamps but it appears to be different from the way other systems keep timestamps. Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 14:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248525#M94576</guid>
      <dc:creator />
      <dc:date>2011-06-07T14:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248526#M94577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that we are talking about a few different things here actually. As I interpreted the original question, sith88 is looking to read only the date part of the timestamp and not the time. Reading only the time will require a different approach. However, what you in all cases need to keep in mind is that dates, times and timestamps (date + time) include both a string representation and a numeric underlying value and that this needs to be taken in account when converting these values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A note regarding timestamp#(field[, format]), this function doesn't format the values, but actually only tells QlikView that the field is a timestamp. This applies to date#() and time#() as well. &lt;BR /&gt;These functions are particularly useful when reading values which are not formatted according to your standard system formatting.&lt;BR /&gt;You can nest them together with their formatting equivalent to convert them to your standard format instead. Example:&lt;BR /&gt;date(date#('2011_06_08', 'YYYY_MM_DD'))&lt;BR /&gt;If your system format is DD/MM/YYYY, this would return 08/06/2011.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 08:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248526#M94577</guid>
      <dc:creator />
      <dc:date>2011-06-08T08:45:01Z</dc:date>
    </item>
    <item>
      <title>Removing the Time from Timestamp from Google Doc</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248527#M94578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please provide steps or any doucument for fetching data from Google doc. Becuase I&amp;nbsp; tried but could not success . Thanks lot in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Arunesh &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 06:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-Time-from-Timestamp-from-Google-Doc/m-p/248527#M94578</guid>
      <dc:creator />
      <dc:date>2012-04-18T06:57:46Z</dc:date>
    </item>
  </channel>
</rss>

