Hello. I have implemented a Plumsail Form with Date field in it. After inserting all required information, Date is among this information, I submit the form. At the next step, Plumsail Form is used as a trigger for Microsoft Flow. In Microsoft Flow I convert my Form into docx file. Everything works fine, but the date is displayed incorrectly. For example, if I choose the date January 31 2019, in the docx file I will get January 30 2019 6.00 PM. The date shifts to the day before and sets the time to 6.00 PM.
First of all, I need precise date. Also I don’t need time.
I used some Javascript tricks such as:
var d = new Date();
fd.field(‘ChosenDate’).value = new Date(d.setHours(0,0,0,0));
var d = new Date();
fd.field(‘ChosenDate’).value = new Date(d.getFullYear(), d.getMonth(), d.getDate());
I am sending two files, in docx and pdf formats. Please pay attention to the date before submission and resulting date. At the end, the date shifts to the day before. But I need to preserve the date that I specified before submission. Also I do not need time.
I’m sorry, but I can’t find the file attachments in your post and it’s quite challenging to find a reason for this behavior without them. Please use the “Upload” button to attach the files to the post.