Link to home
Start Free TrialLog in
Avatar of mike99c
mike99c

asked on

Read date value from Bootstrap Date/Time picker in a simpler format

I am using Eonasdan's Bootstrap Date/time picker:
https://github.com/Eonasdan/bootstrap-datetimepicker

I would like to be able to read the selected picked date in a format of my choosing which in this case is DD/MM/YYYY. However it seems to output with the day of week, month name, day, year, time and GMT offset.

I have created an example of the script here:
http://jsfiddle.net/0Ltv25o8/1649/

When you select a date I output the ID of the date text field and the date string. I am able to set the date format for how the date appears in the date text field but not when I read it.
ASKER CERTIFIED SOLUTION
Avatar of mike99c
mike99c

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial