<?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: [resolved] Get UTC date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216662#M12573</link>
    <description>Yes, I suppose. I want the equivalent of TalendDate.getDate("yyyy-MM-dd HH:mm:ss.SSS") but where the result is the time in UTC rather than my default timezone i.e. if I call the expression at 11pm in my +10 timezone then the result would be "2012-08-02 13:00:00.000" and needs to factor in local DST when applicable.</description>
    <pubDate>Thu, 02 Aug 2012 15:46:08 GMT</pubDate>
    <dc:creator>alevy</dc:creator>
    <dc:date>2012-08-02T15:46:08Z</dc:date>
    <item>
      <title>[resolved] Get UTC date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216660#M12571</link>
      <description>Please could someone tell me the easiest way to get the current UTC time in the format yyyy-MM-dd HH:mm:ss.SSS.  I can't for the life of me figure it out for some reason.</description>
      <pubDate>Thu, 02 Aug 2012 14:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216660#M12571</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-02T14:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Get UTC date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216661#M12572</link>
      <description>Do you want to convert a time zone to GMT? 
&lt;BR /&gt;From Wikipedia 
&lt;BR /&gt;Time zones are usually defined to differ from UTC by an integer number of hours, although the laws of each jurisdiction would have to be consulted if sub-second accuracy was required. Several jurisdictions have established time zones that differ by an integer number of half-hours or quarter-hours from UT1 or UTC. 
&lt;BR /&gt;The UTC time zone is sometimes denoted by the letter Z?a reference to the equivalent nautical time zone (GMT), which has been denoted by a Z since about 1950.</description>
      <pubDate>Thu, 02 Aug 2012 14:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216661#M12572</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-08-02T14:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Get UTC date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216662#M12573</link>
      <description>Yes, I suppose. I want the equivalent of TalendDate.getDate("yyyy-MM-dd HH:mm:ss.SSS") but where the result is the time in UTC rather than my default timezone i.e. if I call the expression at 11pm in my +10 timezone then the result would be "2012-08-02 13:00:00.000" and needs to factor in local DST when applicable.</description>
      <pubDate>Thu, 02 Aug 2012 15:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216662#M12573</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-02T15:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Get UTC date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216663#M12574</link>
      <description>Found this on the web. It's a web service for UTC time.
&lt;BR /&gt;
&lt;A href="http://www.nanonull.com/TimeService/TimeService.asmx?op=getOffesetUTCTime" rel="nofollow noopener noreferrer"&gt;http://www.nanonull.com/TimeService/TimeService.asmx?op=getOffesetUTCTime&lt;/A&gt;
&lt;BR /&gt;There's also a getUTCTime.</description>
      <pubDate>Thu, 02 Aug 2012 16:12:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216663#M12574</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2012-08-02T16:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Get UTC date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216664#M12575</link>
      <description>Surely there's a way to do it with Java?</description>
      <pubDate>Thu, 02 Aug 2012 16:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216664#M12575</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-02T16:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Get UTC date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216665#M12576</link>
      <description>I did it like this, which seems to work, including accounting for daylight saving
&lt;PRE&gt;Calendar c = Calendar.getInstance();&lt;BR /&gt;TimeZone tz = c.getTimeZone();&lt;BR /&gt;Long ms = c.getTimeInMillis();&lt;BR /&gt;Date dt = new Date(ms-tz.getOffset(ms));&lt;/PRE&gt;
&lt;BR /&gt;Note that c.getTime() always gives local time, even if c is instantiated with a different TimeZone.</description>
      <pubDate>Fri, 03 Aug 2012 01:08:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216665#M12576</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2012-08-03T01:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Get UTC date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216666#M12577</link>
      <description>For reference, it is easier and better to use&amp;nbsp;TalendDate.formatDateInUTC&lt;BR /&gt;&lt;PRE&gt;TalendDate.formatDateInUTC("yyyy-MM-dd HH:mm:ss", TalendDate.getCurrentDate() )&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Oct 2016 01:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216666#M12577</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-10-14T01:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Get UTC date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216667#M12578</link>
      <description>Which was added in v6.0.1.</description>
      <pubDate>Wed, 02 Nov 2016 01:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Get-UTC-date/m-p/2216667#M12578</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2016-11-02T01:09:42Z</dc:date>
    </item>
  </channel>
</rss>

