Is there a way to get the datetime format, for example ' YYYY-MM-DD HH:MM:SS ', which will be stored in datetime format in mysql from the android date of the format ' MM-DD-YY ' and the formatting time ' HH:MM '
Input: android ' MM-DD-YY ' date and android time HH:MM
Output: mysql datetime ' YYYY-MM-DD HH:MM:SS '
source share