How to set specific timezone in datepicker using jquery only?
I have a field and apply datepicker on it using jQuery. it is currently getting time from system/browser. I want it to get time from a specific time zone e.g. America/new_york. The endDate param is the key to setting the calendar, which means the user should not be able to select the date from the future. Currently, it is looking like this The code snippet is : jQuery('#convo_start_date').datepicker({ format: 'dd M yyyy', endDate: '+0d', autoclose: true, showButtonPanel: true, todayBtn: 'linked' }).on('change', function () { jQuery('.datepicker').hide(); jQuery('#convo_end_date').attr('value',
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.