The first calendar is the main one.
Qamari dates are calculated with the Umm al-Qura calendar. In Afghanistan a month begins when the new moon is sighted, so the date can be a day earlier or later.