Established Member.. ukrayuk
Established Member..
612 views

Time zone adjustment on HTMLTemplate

 Hi,

We are having an issue on our html Templates for Change.  We have built a number of templates that need to contain the Planned Start and Planned End date.  We also have offices across the globe, all of which can riase changes.  

When the email comes through we would like the planned start and end time to show the local time of the email, recipient rather than Sat Mar 12 2016 03:22:24 GMT-0500 (Eastern Standard Time) we would like it to show Sat Mar 12 2016 03:22:24 if you are in North America, Sat Mar 12 2016 08:22:24 if you are in the UK and Sat Mar 12 2016 19:22:24 if you are in Australia.

Can you let me know what we will need to configure to achieve this?

Thank you.

 

Tags (1)
0 Likes
4 Replies
Absent Member.. Sanzz Absent Member..
Absent Member..

Re: Time zone adjustment on HTMLTemplate

the last i remember is, there is a pending Service Request fro HP Support on this.
Check the kb once.

0 Likes
Established Member.. ukrayuk
Established Member..

Re: Time zone adjustment on HTMLTemplate

Do you have the link to the KB item?

0 Likes
Dennis Handly Acclaimed Contributor.
Acclaimed Contributor.

Re: Time zone adjustment on HTMLTemplate

>we would like it to show Sat Mar 12 2016 03:22:24 if you are in North America,

 

I would recommend that for each of these, you still include the timezone string.  That way if they show/mail the time to someone in another place, at least you can know the universal time.

0 Likes
Established Member.. MickeyMi
Established Member..

Re: Time zone adjustment on HTMLTemplate

For example, if  you want to send the email to th assignee of the change.  You can read the timezone of the assignee in your javascript of htmltemplate. Also in the js you can convert the orignal time to the assinge timezone.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.