Hello @atharvan,
You must write a conditional custom code in the date section to achieve it. Add a custom CSS class for your desired condition and then write a custom CSS for that class, like display: none.
To find the main function of the date for your posts, please read this article:
https://developer.www.ads-software.com/reference/functions/get_the_date/
To find the main function for the modified date, please read this article:
https://developer.www.ads-software.com/reference/functions/the_modified_date/
You can learn how to use Chrome Developer Tools or Firefox Developer Tools to help you see and test changes to your CSS:
https://developers.google.com/web/tools/chrome-devtools/
https://developer.mozilla.org/en-US/docs/Tools
CSS Tutorial: https://www.w3schools.com/css/
Please Note 1: You need to be familiar with PHP code to could write your desired customization code.
Please Note 2: At the bottom of the above article on https://developer.www.ads-software.com/, you can find an example, but you should write your custom code.
I hope that helps.
Best Regards