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 in Web Development by gaurav
• 17,580 points
11 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 in Web Development by rajatha
• 7,040 points
53 views
0 votes
0 answers

Jquery Ui date time picker

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

Jun 29 in Web Development by gaurav
• 17,580 points
21 views
0 votes
0 answers

jQuery JSON Decode ( PHP to Javascript)

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

Jul 1 in Web Development by gaurav
• 17,580 points
10 views
0 votes
0 answers

jQuery & CSS - Remove/Add display:none

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

Jul 20 in Web Development by gaurav
• 17,580 points
35 views
0 votes
0 answers

jQuery & CSS - Remove/Add display:none

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

Jul 21 in Web Development by gaurav
• 17,580 points
10 views
0 votes
0 answers
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,740 points
283 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,740 points
8,861 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,740 points
15,853 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,740 points
1,295 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP