Created
April 22, 2015 13:40
-
-
Save shivenigma/ba99b4403556311cd2ac to your computer and use it in GitHub Desktop.
the ref.timepicker and ref.enquiry.action_date is an instance of a javascript Date() object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sendData.action_date = selected.getFullYear() + "-" + selected.getMonth() + "-" + selected.getDate() + " " + ref.timepicker.mytime.getHours() + ":" + ('0' + ref.timepicker.mytime.getMinutes()).slice(-2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment