I would like to understand your use-case, why you want to get the expiration time of data page in an activity.
If you're trying to verify, whether that particular data page available on the clipboard or not? and accordingly using the content of data page. Then rather evaluating the expiration of data page through an activity.
You can configure, "Refresh strategy" according to your requirement.