Quote:
Originally Posted by freecartoonporn
i can think it like this way.
post creation time = X
post expiration timeframe (10 minutes, 1 hour, 1 day etc) = Y
post expiration time = Z
X + Y = Z
and my query would become,
if Z > current time {
remove records.
}
but Z gets changed everytime user edits post and changes expiration timeframe.
thanks
|
Maybe two columns called "original time" and "updated time" ?