Posts by Marcos Gomes • 11 points
1 post
-
1
votes1
answer481
viewsQ: Compare dates and validate only the same year
In my component p:calendar there are two date ranges dtInicial and dtFinal in the Managed bean I need to compare only the years and validate. If it is the same year, display the "ok" message.…