PHP jQuery datetime picker

0 votes

I am using the jQuery datetime picker to take the user input .

I have dateformat like `dateFormat: "d-MM-yy", in my jQuery setting it returns the date like

15-January-2013 20:00

Unfortunately my php db accepting the value in 2013-01-20 20:00 format

I can use php strotime() to parse the date exactly like 2013-01-15 20:00 but this can causes the timezone error so i want to 2013-01-15 20:00 as a raw string to the php side .

Is their any way so that user can see like 15-January-2013 20:00 in input box and my php program will get the 2013-01-15 20:00 value .

Update

I want 15-January-2013 20:00 to be 2013-01-15 20:00 in php side

Jul 25, 2022 in Web Development by gaurav
• 23,260 points
578 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Web Development

0 votes
1 answer

Date range picker on jquery ui datepicker

Thanks I need this kind of code. ...READ MORE

answered Jun 27, 2022 in Web Development by rajatha
• 7,680 points
4,374 views
0 votes
0 answers

Jquery Ui date time picker

I am using jquery date time picker and using start ...READ MORE

Jun 29, 2022 in Web Development by gaurav
• 23,260 points
486 views
0 votes
0 answers

jQuery JSON Decode ( PHP to Javascript)

I'm trying to make an autocomplete script. ...READ MORE

Jul 1, 2022 in Web Development by gaurav
• 23,260 points
432 views
0 votes
0 answers

jQuery & CSS - Remove/Add display:none

I have a div with this class ...READ MORE

Jul 20, 2022 in Web Development by gaurav
• 23,260 points
1,400 views
0 votes
0 answers

jQuery & CSS - Remove/Add display:none

I have a div with this class ...READ MORE

Jul 21, 2022 in Web Development by gaurav
• 23,260 points
526 views
0 votes
0 answers

Expand form based on radio selection in jQuery & Bootstrap

I am trying to show a part ...READ MORE

Jul 22, 2022 in Web Development by gaurav
• 23,260 points
451 views
0 votes
1 answer

Error: Global Variable is not accessable to local function

Hey kartik, A variable declared outside a function has a ...READ MORE

answered Feb 19, 2020 in PHP by Niroj
• 82,880 points
864 views
0 votes
1 answer

Uncaught TypeError: Cannot read property 'msie' of undefined - jQuery tools

Hello, Use the following script tag in your ...READ MORE

answered Apr 28, 2020 in JQuery by Niroj
• 82,880 points
14,377 views
0 votes
1 answer

Uncaught Error: Bootstrap's JavaScript requires jQuery

Hello @kartik, You have provided wrong order for ...READ MORE

answered Apr 28, 2020 in JQuery by Niroj
• 82,880 points
22,515 views
0 votes
1 answer

How to make Bootstrap popover Appear/Disappear on hover instead of click?

Hello @kartik, Set the trigger option of the popover to hover instead ...READ MORE

answered May 12, 2020 in JQuery by Niroj
• 82,880 points
3,001 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP