If you want to display a "New Arrival" icon on your Shopify product listings, you will often use "product tags" to manage them, but in stores with a large number of items, you may want to automatically control this using the product publication date. In these cases, you can write the logic directly into the code, but here is an example of how to manage it in the theme settings.
Example of settings for automatically displaying the "New Arrival Icon" on the "Product Card (Default Collection, Featured Collection)" for a certain period of time after the product is released in the "Dawn" theme
The date the product was published will be the base date. (If a published product is made private and then republished, the date will become the publication date, so it will be treated as a new product and will be eligible for the "New product icon display.")