Infer the date from context.