sectore / phonegap3-ios-datepicker-plugin

:x: [Deprecated] Migration of DatePicker iOS plugin to work with Cordova/PhoneGap 3
Other
26 stars 18 forks source link

How to change Month format in callback value. #24

Open Arunkumar1775 opened 10 years ago

Arunkumar1775 commented 10 years ago

This plugin is working fine in my project. I am getting moth format is 1 to 12 only. But i want get moth format is 01 to 12. I am using following code for change moth format "month[date.getMonth()] ". But it;s not working. How can add prefix 0. Pls guide me.