Database showing offset value of date time variable

I have a date time issue. In my interface a user can select a date and time. Lets use the following example: Start Date 08/04/2016 time 09:00 AM End Date is 08/30/2016 11:59 PM. When viewed in the pv this time is shown. When viewed in the DB once saved it is adding 4 hours so in the DB its 13:00 and 03:59. The calendar and internationalization are both set to UTC-05:00 Eastern Time (America/New_York. How can I get the values to save in the DB as what is entered in the interface form?

Also, from the form we create a docx file that is downloadable. In these time fields they also show the +4 hours time. How do I get it to show the actually selected time.

Thanks.

OriginalPostID-227489

OriginalPostID-227489

  Discussion posts and replies are publicly visible

Parents
  • @philip: I have commented that rule. the value:local!selectedRecord.Date ,saveInto:local!selectedRecord.Date. If the date changes to my default user timezone then, I would like to see the date in that format only. What I mean to say is, in the date time field, the date and time component should be in the default user date format,so that when I select 17/8/2016 from date component and 05:00 PM from time component, It should stay like the way I entered and not change in to 17/8/2016 01:00 pm.
Reply
  • @philip: I have commented that rule. the value:local!selectedRecord.Date ,saveInto:local!selectedRecord.Date. If the date changes to my default user timezone then, I would like to see the date in that format only. What I mean to say is, in the date time field, the date and time component should be in the default user date format,so that when I select 17/8/2016 from date component and 05:00 PM from time component, It should stay like the way I entered and not change in to 17/8/2016 01:00 pm.
Children
No Data