I am green card holder since 07/10/2012,
From 12/29/2012 to 06/20/2013 I left US for studying purpose: 6 months and 2 days total.
Since then I have never violated continuous residence requirement and never left US more than 6 months.
If , starting from 06/20/2013 when I returned back, 5 years...