getting expires date