use Unix time in cache lifetime


How I can use Unix time in memcache lifetime?

any solution?!


Currently the lifetime the number of seconds the cache must live in the memcached server, if you want to pass a unixtimestamp, you just have to substract it from the current time:

$ttl = time() - $myTimestamp;