{"version":1,"about":"The Afghan calendars as tables: Hijri Shamsi and Hijri Qamari, with the day numbers that connect them to the Gregorian calendar.","docs":"https://waqt.qudqu.com/en/api/","license":"CC-BY-4.0","dayNumber":"A date is a day number: whole days since 1970-01-01 (day 0; 1969-12-31 is -1), with no time zone. Every calendar converts to and from day numbers, so a date moves from one calendar to another by way of its day number.","range":{"firstDay":-25567,"lastDay":74838,"first":"1900-01-01","last":"2174-11-25"},"shamsi":{"description":"Hijri Shamsi, the Afghan solar calendar. yearStarts[i] is the day number of 1 Hamal of year firstYear + i; the last entry is the start of the year after lastYear. Months 1 to 6 have 31 days, 7 to 11 have 30, and month 12 (Hut) has 29, or 30 in a year of 366 days.","firstYear":1278,"lastYear":1553,"monthLengths":[31,31,31,31,31,31,30,30,30,30,30,29],"yearStarts":[-25853,-25488,-25123,-24757,-24392,-24027,-23662,-23296,-22931,-22566,-22201,-21835,-21470,-21105,-20740,-20374,-20009,-19644,-19279,-18913,-18548,-18183,-17818,-17452,-17087,-16722,-16357,-15991,-15626,-15261,-14896,-14531,-14165,-13800,-13435,-13070,-12704,-12339,-11974,-11609,-11243,-10878,-10513,-10148,-9782,-9417,-9052,-8687,-8321,-7956,-7591,-7226,-6860,-6495,-6130,-5765,-5399,-5034,-4669,-4304,-3938,-3573,-3208,-2843,-2478,-2112,-1747,-1382,-1017,-651,-286,79,444,810,1175,1540,1905,2271,2636,3001,3366,3732,4097,4462,4827,5193,5558,5923,6288,6654,7019,7384,7749,8115,8480,8845,9210,9575,9941,10306,10671,11036,11402,11767,12132,12497,12863,13228,13593,13958,14324,14689,15054,15419,15785,16150,16515,16880,17246,17611,17976,18341,18707,19072,19437,19802,20168,20533,20898,21263,21628,21994,22359,22724,23089,23455,23820,24185,24550,24916,25281,25646,26011,26377,26742,27107,27472,27838,28203,28568,28933,29299,29664,30029,30394,30760,31125,31490,31855,32221,32586,32951,33316,33681,34047,34412,34777,35142,35508,35873,36238,36603,36969,37334,37699,38064,38430,38795,39160,39525,39891,40256,40621,40986,41352,41717,42082,42447,42813,43178,43543,43908,44274,44639,45004,45369,45734,46100,46465,46830,47195,47561,47926,48291,48656,49022,49387,49752,50117,50483,50848,51213,51578,51944,52309,52674,53039,53405,53770,54135,54500,54866,55231,55596,55961,56327,56692,57057,57422,57787,58153,58518,58883,59248,59614,59979,60344,60709,61075,61440,61805,62170,62536,62901,63266,63631,63997,64362,64727,65092,65458,65823,66188,66553,66919,67284,67649,68014,68380,68745,69110,69475,69840,70206,70571,70936,71301,71667,72032,72397,72762,73128,73493,73858,74223,74589,74954]},"qamari":{"description":"Hijri Qamari, the Islamic lunar calendar, by the Umm al-Qura tables. yearStarts[i] is the day number of 1 Muharram of year firstYear + i; the last entry is the start of the year after lastYear. Bit m of monthLengthBits[i] (m = 0 for Muharram) is 1 when month m + 1 has 30 days, else it has 29.","method":"umm-al-qura","moonSighting":"In Afghanistan a Qamari month starts when the new crescent is seen, which cannot be calculated in advance, so a date can be a day off from Umm al-Qura either way. If a month started a day later than the table says, read the table at the day before (day number - 1); if a day earlier, at the day after (day number + 1).","firstYear":1317,"lastYear":1600,"yearStarts":[-25802,-25448,-25093,-24738,-24384,-24029,-23675,-23321,-22967,-22612,-22258,-21903,-21549,-21195,-20841,-20486,-20132,-19777,-19423,-19068,-18714,-18360,-18006,-17651,-17297,-16942,-16588,-16234,-15880,-15526,-15171,-14816,-14462,-14107,-13753,-13399,-13045,-12690,-12336,-11981,-11626,-11272,-10918,-10564,-10210,-9855,-9501,-9146,-8792,-8438,-8084,-7729,-7375,-7020,-6665,-6311,-5957,-5603,-5249,-4894,-4539,-4185,-3830,-3476,-3122,-2768,-2414,-2059,-1704,-1350,-996,-642,-288,67,422,776,1131,1485,1839,2193,2547,2902,3256,3611,3965,4319,4673,5028,5382,5737,6092,6446,6800,7154,7508,7863,8218,8572,8927,9281,9635,9989,10344,10698,11053,11407,11761,12115,12469,12824,13179,13533,13888,14242,14596,14950,15304,15659,16013,16368,16722,17076,17430,17785,18139,18494,18848,19203,19557,19911,20265,20620,20975,21329,21683,22038,22392,22746,23101,23456,23810,24165,24519,24873,25227,25581,25936,26291,26645,26999,27353,27708,28062,28417,28771,29126,29480,29834,30188,30542,30897,31252,31606,31960,32314,32668,33023,33378,33732,34087,34441,34795,35149,35504,35858,36213,36567,36922,37276,37630,37984,38339,38693,39048,39402,39756,40110,40465,40819,41174,41529,41883,42237,42591,42945,43300,43655,44009,44364,44718,45072,45426,45780,46135,46490,46844,47198,47552,47906,48261,48615,48970,49325,49679,50033,50387,50741,51096,51450,51805,52159,52513,52867,53222,53576,53931,54286,54640,54994,55348,55702,56057,56412,56766,57121,57475,57829,58183,58538,58892,59247,59601,59955,60309,60664,61018,61373,61727,62082,62436,62790,63144,63498,63853,64208,64562,64916,65270,65624,65979,66333,66688,67043,67397,67751,68105,68459,68814,69169,69524,69878,70232,70586,70940,71295,71649,72004,72358,72713,73067,73421,73775,74130,74485,74839],"monthLengthBits":[685,1389,2906,1874,3877,3722,3350,2646,2741,1716,3497,2962,2853,1611,2715,858,1753,1492,3493,3402,2709,1334,2421,756,1769,1748,1705,1333,605,1213,2490,948,2921,2858,2645,1197,2653,730,1753,3754,3732,3370,3158,1198,2669,1386,3413,3402,2707,1323,2651,1338,1717,3753,3410,3369,2645,1197,1389,2794,1764,3793,3490,2730,2394,730,1465,2994,1892,1737,1365,683,1243,2746,1460,3497,3410,2725,2349,621,2285,730,2773,2725,2635,1175,2359,694,2421,3433,3410,3221,2347,603,1243,2517,1490,3493,3402,2709,1357,2733,938,3026,3012,2953,2709,1325,1453,2922,1748,3529,3474,2726,2390,686,1389,874,2901,2730,2381,1181,2397,698,1461,1450,3413,2714,2350,622,1373,2778,1748,1701,2855,2637,1197,1389,2906,1876,3913,3730,3366,2646,854,1717,2986,2962,2853,1675,2715,1370,2778,1460,3497,2898,2714,1334,630,1397,2802,1748,1705,1365,685,1213,2490,1396,2921,2898,2709,1325,2653,1242,2777,1714,3733,3626,3222,2350,2733,1386,3429,3402,3349,1579,3163,1338,1717,3506,3428,3369,2645,1197,2413,2794,1768,3793,3492,3402,2666,730,1465,2930,2920,1745,1621,1195,2395,698,1461,3497,3410,3238,2382,1134,2397,1242,2773,2730,2637,1179,2359,1206,2421,3434,3410,2725,2379,683,1371,2777,1490,3525,3474,2853,1365,2741,1460,2985,1954,1861,1427,2731,1238,2518,1490,2981,2890,2709,1197,349,733,2522,1460,1449,1325,603,2231,374,1389,2922,2762,2710,1323,347,699,1462,3498,2964,3398,2701,1325,2717,1370,1877,1865,3859,3658,2710,1366,1717,2986,2964]},"time":{"description":"All of Afghanistan keeps one time all year: UTC+4:30, with no daylight saving time.","timeZone":"Asia/Kabul","offsetMinutes":270,"daylightSaving":false}}