If you are a generation younger than you, you can write: This book is a gift to a friend who forgets the New Year at the age of xx, in the winter month of Yiwei year, with a pen.
Also: xx, the friend who forgets the year, smiles and accepts the xx book of the winter month of the year yiwei
Quan should make up for the xx book of the winter month of the year yiwei
If he is from the same generation, that is : xx teaches the xx book of the winter month of the first year of Zhengyi
xx teaches the xx book of the winter month of the first year of the xx
etc.