Unfortunately that doesn’t work either because that environment variable is neither exported by CircleCI or setup within a context: the key ends up being “ccache_”.
I have had limited success the time or two I’ve wanted to do something similar.
From what I remember, there is a workaround, which would be to have a step that touches a file with a datestamp, then use the {{ checksum "the_file" }} as your cache key.
For example:
In your case, you’d put the datestamp in the contents of the file.
There’s a support article that suggests more or less exactly this for your use case: