cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

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

向郭
1-Newbie

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

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

ACCEPTED SOLUTION

Accepted Solutions
jkaczynski
4-Participant
(To:向郭)

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.

View solution in original post

2 REPLIES 2
jkaczynski
4-Participant
(To:向郭)

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.

Thank you Jakub.

Announcements


Top Tags