Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

datepicker minimum date?

Hello She,

On value change event of datepicker please save the date from datepicker in local storage variable and then on the same event set text of the desired label from local storage variable. Please see the screenshots

Image

Image

Image

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

datepicker minimum date?

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()) );

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

datepicker minimum date?

btw thanks for responding

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

datepicker minimum date?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

datepicker minimum date?

She,

What is your date format in datepicker?

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

datepicker minimum date?

m-d-yy

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

datepicker minimum date?

i want to be the format in my label is no separator
like the left screenshot

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

datepicker minimum date?

here is my code in Java Run
Appery("lblLogDate").text( $.datepicker.formatDate("mmddyy", new Date()) );

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

datepicker minimum 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

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

datepicker minimum date?

thank you now it works :)

Return to “Issues”