Tell us what you are trying to do?
My form includes a date time field to report time of observation. The datepicker is not respecting the time zone selected in WordPress. When I select a date/time, the result appears to be UTC+0. Is there any way to set the CRED datepicker time-zone?
Is there any documentation that you are following?
I have examined many threads on the jQuery UI datepicker but have not found anything that solves my problem.
Is there a similar example that we can see?
I find that datepickers generally get configured to output a date/time, or at least show the user a date/time, that is consistent with their regional settings / time zone.
You can use the function to convert your selected date timestamp and pass your desired timezone to covert to and save the return value to the database. You can update the custom date field value based on the funtions's return value using the "cred_save_data" hook.
- https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
Please let me know if you will require further assistance for that.