Expand my Community achievements bar.

Adaptive forms datepicker calender issue

Avatar

Level 3

Hi,

I am using guidedatepicker component in adaptive forms and there was one requirement that on load of the form default date in guidedatepicker field should be in US time zone like-- "if I am loading the form in India on 12-Jan-2022 and at that time date in US has changed to 13-Jan-2022 so it should reflect that date(13-Jan-2022), which I was able to achieved by writing custom jsp". 

 

But now issue is that date field value is showing date (13-Jan-2022) but the calendar icon in guidedatepicker once opened in form is showing the default date as 12-Jan-2022. I am not able to identify how to update calendar default date to 13-Jan-2022 based on US timezone. 

 

Can anyone please suggest any option through which this can be achieved?

2 Replies

Avatar

Level 3

yes @Mayank_Gandhi, if there is any other way possible to do so, then I can try that also.