For macOS 10.10 and later. Set Last Played/Last Skipped date of selected tracks to a new date, with option to increase or decrease Plays/Skips, or set to no date and no Plays/Skips.
Also see Add or Subtract Play Count.
iCloud Music Library/Apple Music users should be aware of a potential bug.
Like so. The Last Played date of the selected tracks will be set to June 10, 2014 at 9:45AM and the Plays will be decreased by 3. The latter is an option that can be toggled on and off with the checkbox.
Perhaps Also of Interest...
downloaded 2m 31s ago
Copy chosen tag info from one set of tracks to a different set of tracks
downloaded 4m 0s ago
Title Cap various track tags, featuring editable exceptions lists
downloaded 26m 33s ago
Set Last Skipped date of selected tracks to today or today minus your number of days.
downloaded 30m 30s ago
Delete files downloaded and cached by Apple Music
downloaded 32m 6s ago
Export selected playlists as individual XML or M3U files
downloaded 33m 9s ago
Remove iTunes tracks disassociated from files