<?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 to Format the Soap Timestamp Date properly? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-Format-the-Soap-Timestamp-Date-properly/m-p/101340#M48322</link>
    <description>Dear Team,&lt;BR /&gt;I am unable to format the timestamp to datetime.&lt;BR /&gt;&lt;BR /&gt;I used below logics to get the sopaui timestamp format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'&lt;BR /&gt;&lt;BR /&gt;FormatUTCDateTime(Now(); "yyyy-MM-dd")&amp;amp;"T"&amp;amp;FormatUTCDateTime(Now(); "HH:mm:ss")&amp;amp;"Z"&lt;BR /&gt;FormatUTCDateTime(Now(); "yyyy-MM-dd'T'HH:mm:ss'Z'"&lt;BR /&gt;&lt;BR /&gt;But the output format is interms of text which is throwing a date parse exception when send it through my request.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I also used a code stage to get the work done but unfortunately, i didnt work.&lt;BR /&gt;&lt;BR /&gt;Dim MS &lt;BR /&gt;MS = format(Now,"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")&lt;BR /&gt;Console.WriteLine(MS)&lt;BR /&gt;&lt;BR /&gt;Please suggest a way to handle this exception. Any help would be highly appreciated.</description>
    <pubDate>Fri, 30 Apr 2021 06:29:41 GMT</pubDate>
    <dc:creator>Subha_SwethaNan</dc:creator>
    <dc:date>2021-04-30T06:29:41Z</dc:date>
    <item>
      <title>How to Format the Soap Timestamp Date properly?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Format-the-Soap-Timestamp-Date-properly/m-p/101340#M48322</link>
      <description>Dear Team,&lt;BR /&gt;I am unable to format the timestamp to datetime.&lt;BR /&gt;&lt;BR /&gt;I used below logics to get the sopaui timestamp format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'&lt;BR /&gt;&lt;BR /&gt;FormatUTCDateTime(Now(); "yyyy-MM-dd")&amp;amp;"T"&amp;amp;FormatUTCDateTime(Now(); "HH:mm:ss")&amp;amp;"Z"&lt;BR /&gt;FormatUTCDateTime(Now(); "yyyy-MM-dd'T'HH:mm:ss'Z'"&lt;BR /&gt;&lt;BR /&gt;But the output format is interms of text which is throwing a date parse exception when send it through my request.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I also used a code stage to get the work done but unfortunately, i didnt work.&lt;BR /&gt;&lt;BR /&gt;Dim MS &lt;BR /&gt;MS = format(Now,"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")&lt;BR /&gt;Console.WriteLine(MS)&lt;BR /&gt;&lt;BR /&gt;Please suggest a way to handle this exception. Any help would be highly appreciated.</description>
      <pubDate>Fri, 30 Apr 2021 06:29:41 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Format-the-Soap-Timestamp-Date-properly/m-p/101340#M48322</guid>
      <dc:creator>Subha_SwethaNan</dc:creator>
      <dc:date>2021-04-30T06:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Format the Soap Timestamp Date properly?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-Format-the-Soap-Timestamp-Date-properly/m-p/101341#M48323</link>
      <description>Hello Subha&lt;BR /&gt;&lt;BR /&gt;Code Stage should work fine in this case. I would suggest you to declare the MS variable with the data type as below&lt;BR /&gt;&lt;BR /&gt;Dim MS as datetime&lt;BR /&gt;MS = format(Now,"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")&lt;BR /&gt;&lt;BR /&gt;After this, MS would be treated as a datetime variable and not text. Please let me know in case you have any other query.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 May 2021 00:13:44 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-Format-the-Soap-Timestamp-Date-properly/m-p/101341#M48323</guid>
      <dc:creator>KaranSareen</dc:creator>
      <dc:date>2021-05-03T00:13:44Z</dc:date>
    </item>
  </channel>
</rss>

