Thanks should be expressed immediately upon receiving a gift. But not to be too rigid about it, Miss Manners will allow 20 minutes for the recipient to find pen and paper.