President Higgins visited Coláiste Pobail Setanta in Dublin, to mark the school's 10th anniversary.
The students and teachers put messages to themselves on postcards in a specially crafted time capsule, in the shape of an acorn, which will be opened in 10 years' time.