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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

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

向郭
7-Bedrock

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
12-Amethyst
(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
12-Amethyst
(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