# Different date information on the form archive and in the follow up form

**URL:** <https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656>\
**Category:** Process Design\
**Created:** [July 8, 2020, 8:05pm UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656 "2020-07-08T20:05:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![marinam](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/marinam/32/322_2.png) [@marinam](https://discuss.workflowgen.com/u/marinam)\
**Post date:** [July 8, 2020, 8:05pm UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656/1 "2020-07-08T20:05:56Z")

</div>

Hello,

We noticed that follow up form is showing different date from date entered in the form (1 day ahead).  
Data element is Date/Time data type, Culture is User’s Culture, TimeZone is Arizona.

Could you please help us to resolve this issue?  
Thank you in advance,  
Marina Stefanovic

---

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [July 9, 2020, 12:52am UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656/2 "2020-07-09T00:52:54Z")

</div>

Hi @marinam,

I believe your issue is related to this:

> [@Form designer: How to display GMT dates](https://discuss.workflowgen.com/t/form-designer-how-to-display-gmt-dates/251):
>
> In WorkflowGen, datetime data iare stored with the GMT timezone in the WorkflowGen database. By default datetime data are converted to the user’s timezone and displayed with the user’s culture in the web form and the User Portal. If you want to display the datetime data in GMT, follow the procedure below (available since version 5.5.1). 1. In the Form Designer For the corresponding fields containing the dates, add the TimeZoneConversion custom attribute with the value false. 2. In the Admini…

Let me know if this helps,  
Eddy.

---

<div class="post-metadata">

**Author:** ![marinam](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/marinam/32/322_2.png) [@marinam](https://discuss.workflowgen.com/u/marinam)\
**Post date:** [July 13, 2020, 2:46pm UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656/3 "2020-07-13T14:46:54Z")

</div>

Thank you @eddy.daouk. I implemented time zone change (set GMT for data element) and added custom attribute for the field. Now it is working well, it is showing the same info in the follow up form and in the form archive.  
But now another issue appeared. Lead time of the activities is set by that data element. And now, time limits of these activities in the follow up form are set one day BEFORE date listed in the field. And it should be on that date, not day before. Is there any resolution on that?

Thank you,  
Marina

---

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [July 13, 2020, 6:53pm UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656/4 "2020-07-13T18:53:55Z")

</div>

Hi @marinam,

I would create a hidden Date field that adds one day to the indicated GMT day (in code behind) and use that new data as a Lead time.

> **[DateTime.AddDays(Double) Method (System)](https://docs.microsoft.com/en-us/dotnet/api/system.datetime.adddays?view=netcore-3.1)**
>
> Returns a new that adds the specified number of days to the value of this instance.

Regards,  
Eddy.

---

<div class="post-metadata">

**Author:** ![marinam](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/marinam/32/322_2.png) [@marinam](https://discuss.workflowgen.com/u/marinam)\
**Post date:** [July 24, 2020, 4:19pm UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656/5 "2020-07-24T16:19:44Z")

</div>

Thank you Eddy. I managed to resolve the issue.

---

<div class="post-metadata">

**Author:** ![marinam](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/marinam/32/322_2.png) [@marinam](https://discuss.workflowgen.com/u/marinam)\
**Post date:** [November 27, 2020, 9:32pm UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656/6 "2020-11-27T21:32:03Z")

</div>

Hi @eddy.daouk,  
I’m contacting you again because of the similar issue.  
We have the problem how date/time is presented in different time zones again.  
We didn’t implement your suggestion from the article above.  
My colleague has user settings Arizona, the date and time (both data elements have TimeZone Arizona) he sees in the follow up form is correct, but when he opens request, he sees one day before (please see screenshots). Is there any other setup that has to be updated in order for this to work? Our company works in two time zones - GMT+1 (Belgrade), and GMT-7 (Arizona).  
I found this article, it explains similar issue like we have:

> [@How can I set a datetime value for form data in code-behind with the consideration of user time zone and Daylight Saving time?](https://discuss.workflowgen.com/t/how-can-i-set-a-datetime-value-for-form-data-in-code-behind-with-the-consideration-of-user-time-zone-and-daylight-saving-time/215):
>
> Background WorkflowGen will automatically take the date value entered by user from a DateTime text field on a web form and add the proper value to the FormData. However, if a date is set manually in code-behind, by default the date will not have the time zone factor and it will cause a date issue. For example, May 1, 2019 (2019-05-01) will become 2019-05-01T00:00:00 in the WorkflowGen form data. When this value is passed to WorkflowGen process data, if the time zone is Eastern US & Canada time,…

Could this maybe resolve the problem?  
Could you please help us to resolve this issue?  
Thank you!  
Marina

 ![Inkedscrnn_LI](https://canada1.discourse-cdn.com/flex030/uploads/workflowgen/original/1X/5dc64c346a7036fbc7f9ab709a2b2b4acd87ae33.jpeg) ![scrn2](https://canada1.discourse-cdn.com/flex030/uploads/workflowgen/original/1X/136457a40932acaf15bfd4696e1f59ad68420159.jpeg) ![Inkedscrn1_LI](https://canada1.discourse-cdn.com/flex030/uploads/workflowgen/original/1X/8b32fa2acefc5d7794f94823bb281ce6a2f8d6c3.jpeg)

---

<div class="post-metadata">

**Author:** ![eddy.daouk](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/eddy.daouk/32/672_2.png) [@eddy.daouk](https://discuss.workflowgen.com/u/eddy.daouk)\
**Post date:** [December 6, 2020, 3:12am UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656/7 "2020-12-06T03:12:55Z")

</div>

Hi @marinam,

Is the date entered manually in the form or calculated in code behind?

Eddy.

---

<div class="post-metadata">

**Author:** ![marinam](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/marinam/32/322_2.png) [@marinam](https://discuss.workflowgen.com/u/marinam)\
**Post date:** [December 6, 2020, 4:38pm UTC](https://discuss.workflowgen.com/t/different-date-information-on-the-form-archive-and-in-the-follow-up-form/1656/8 "2020-12-06T16:38:03Z")

</div>

@eddy.daouk, date is entered manually in the form. When requester open new Termination request, he is manually entering the date and the time of the employee termination. Hope this answers your question.

Thank you,  
Marina
