formatting 24 hourst lifetime of cache