I have a field which is of type Date&Time(Time-Zone Independent), users will be using this field to schedule pickups and now I want to lock this filed once the scheduled day is over i.e at 11:59 PM on the scheduled date.
We have users in different time zones across United States who will be using this field as an end user. (They can not schedule anything but they should be able to edit this field until 11.59PM of the scheduled date)
we developed a JavaScript Web Resource for this requirement and its working fine but it is locking the field 7 Hours ahead because of the UTC time conversion formula we have used within the code.
Any thoughts on how to resolve this issue?
*This post is locked for comments
I have the same question (0)