Skip to main content
1-Visitor
February 10, 2017
Solved

How to config the datetimepicker to display only the year and month?

  • February 10, 2017
  • 1 reply
  • 2798 views

I need to get the year and month but don't display day, how to config the datetimepicker?Snap2.jpg

Best answer by jkaczynski

Hi Xiang Jing Guo​,

I believe there's no OOTB possibility to do that. You can format date using localization tables, but there's no option in the default DateTime picker to limit to only months and years. I'm afraid you need to customize or pick other way to show year/month.

Regards,

J.

1 reply

1-Visitor
February 10, 2017

Hi Xiang Jing Guo​,

I believe there's no OOTB possibility to do that. You can format date using localization tables, but there's no option in the default DateTime picker to limit to only months and years. I'm afraid you need to customize or pick other way to show year/month.

Regards,

J.

向郭_011-VisitorAuthor
1-Visitor
February 10, 2017

Thank you Jakub.