<?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 Format date to current time zone in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/format-date-to-current-time-zone/m-p/135039#M36317</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Let's say I have a Java "Date" object. I would like to convert/format it&amp;nbsp;&amp;nbsp;to the current time zone of my Alfresco service.&lt;/P&gt;&lt;P&gt;How can&amp;nbsp; I achieve this ? I know Alfresco does it to display the date in formulary.&lt;/P&gt;&lt;P&gt;For example, I have a date property set to 3 pm (UTC), the system will display (17:00:00) (5pm, french time).&lt;/P&gt;&lt;P&gt;I would like to get the same result but with Java.&lt;/P&gt;&lt;P&gt;Any idea ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 08:45:21 GMT</pubDate>
    <dc:creator>ValentinLeblanc</dc:creator>
    <dc:date>2022-08-01T08:45:21Z</dc:date>
    <item>
      <title>Format date to current time zone</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/format-date-to-current-time-zone/m-p/135039#M36317</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Let's say I have a Java "Date" object. I would like to convert/format it&amp;nbsp;&amp;nbsp;to the current time zone of my Alfresco service.&lt;/P&gt;&lt;P&gt;How can&amp;nbsp; I achieve this ? I know Alfresco does it to display the date in formulary.&lt;/P&gt;&lt;P&gt;For example, I have a date property set to 3 pm (UTC), the system will display (17:00:00) (5pm, french time).&lt;/P&gt;&lt;P&gt;I would like to get the same result but with Java.&lt;/P&gt;&lt;P&gt;Any idea ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 08:45:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/format-date-to-current-time-zone/m-p/135039#M36317</guid>
      <dc:creator>ValentinLeblanc</dc:creator>
      <dc:date>2022-08-01T08:45:21Z</dc:date>
    </item>
  </channel>
</rss>

