3

How to make a SharePoint:DateTimeControl use a MMMM/YYYY format so it let the user choose only month and year ?

1

I think is not possible. You need to use another control like jQuery UI Datepicker and use this format:

dateFormat: 'MM yy'
  • DateTimePicker and DateTimeControl aren't the same class. The later don't have Format and CustomFormat properties. Can I use DateTimePicker in a aspx page actually ? – Ythio Csi Jun 29 '17 at 12:45
  • My mistake. You are right. You're going to have to go for something like jquery. – Juan Pablo Pussacq Laborde Jun 29 '17 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.