Extract datetime object from tuple