paloYaNgwaga
→ year()Returns the year from the computer's clock, such as 2026.
paloYaNgwaga()It returns the full year — 2026, not 26.
ngwaga is a heavily-written Setswana word. That is why the name is paloYa…: had it been bare ngwaga, a child writing a calendar sketch would be refused diri ngwaga = 2026;.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 200);
bokamorago(26, 30, 40);
tlogelaMothalo();
tlatsaMmala(250, 230, 190);
bogoloJwaMokwalo(72);
rulaganyaMokwalo(BOGARE, BOGARE);
mokgwaWaMokwalo(TIISA);
thalaMokwalo(paloYaNgwaga(), 200, 100);
tlhalosa('Ngwaga wa gompieno o kwadilwe ka mokwalo o mogolo o o tiileng mo bogareng jwa kanefase e ntsho.');
}