The freshness of coffee beans can be determined by the roast date mentioned on the packaging. Look for beans that have been recently roasted, preferably within two to four weeks.