hi sir,
i want my date format will be like this in the label
mmddyy
everytime i click the dates.
here is my code, but its not working well.
Appery("lblLogDate").text( $.datepicker.formatDate("mmddyy", new Date()) );
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
hi sir,
i want my date format will be like this in the label
mmddyy
everytime i click the dates.
here is my code, but its not working well.
Appery("lblLogDate").text( $.datepicker.formatDate("mmddyy", new Date()) );
btw thanks for responding
She,
What is your date format in datepicker?
m-d-yy
i want to be the format in my label is no separator
like the left screenshot
here is my code in Java Run
Appery("lblLogDate").text( $.datepicker.formatDate("mmddyy", new Date()) );
She,
You shouldn't use formatDate in this case. Just remove the "-" character from a string
preAppery("lblLogDate").text( Apperyio("mobiledatepickerName").getAttr('defaultDateValue').replace(/-/g, ""));/pre
thank you now it works ![]()