Yala ukwazi izinsuku kuze kuphele unyaka

Yize singekho ekupheleni konyaka, okungenani, ngithola leli phuzu liheha ngokukhethekile.

Ku-terminal ake sibeke lokhu:

echo "Faltan $(($(date +%j -d"Dec 31")-$(date +%-j))) días para que termine el año $(date +%Y)."

Njengoba ukwazi ukubona, into efana nale:

Kunezinsuku ezingama-215 kuze kuphele unyaka wezi-2013.

Umsebenzi ulula, sisebenzisa umyalo nokuguquguquka Usuku, nge usuku +% j siyalwazi usuku lonyaka esikuloizolo may 30 usuku 150), bese sithola ukuthi unyaka unezinsuku ezingaki -d »Ngomhlaka 31 XNUMX (... noma kunjalo ngangiqonda), ekugcineni ukukhipha lezo zinsuku unyaka onazo kusukela enanini losuku lwamanje, lokhu kuzosinika ukuthi zingaki izinsuku ezisele.

Noma kunjalo, ngomyalo wosuku ungenza izinto eziningi kakhulu kunalokho ebengikucabanga 😀

Phendula ngokucaphuna


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-12, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   eliotime3000 kusho

    Kuhle lokho!

  2.   Leper_Ivan kusho

    Ibuye isetshenziselwe ezinye izinto eziningi, hhayi nje ukulinda amaphathi okuphela konyaka .. Kungaba ukukhumbula isikhumbuzo nomlingani wethu, njll.

  3.   edo kusho

    Lawo makhodi angenhla, ngabe awolimi oluthile lohlelo?

    1.    103 kusho

      Bash

  4.   si84 kusho

    Kuhle.

  5.   I-Citux kusho

    Kuhle kakhulu, futhi ngokuguqula inyanga nosuku ngingabala ezinye izinsuku 🙂

  6.   zerberros kusho

    "Cal -j"
    o
    «Cal -j 2013»
    Kukukhombisa usuku lonyaka. Lokho kusho ukuthi, namuhla ngalesi sikhathi wusuku lwe-151 lonyaka, yize kusele okuncane ukuqeda ...

  7.   Leo kusho

    Kuhle ukuyihlanganisa nento efana ne- notify-send:

    yazisa-thumela «Kusuka kuLinux yikho Okuhamba phambili :)» «Kukhona $ (($ (date +% j -d» Dec 31 ″) - $ (date +% - j))) izinsuku ezisele kuze kube sekupheleni konyaka $ (usuku +% FUTHI). "

    Buza nje ngenxa yelukuluku: ingabe imibono ingafomethwa ngomaki, njengombala ogqamile noma imibala?

  8.   Ricardo kusho

    Ungasebenzisa futhi i-alias ukungabhali yonke into ngaso sonke isikhathi lapho ufuna ukwazi ukuthi zingaki izinsuku ezisele:

    alias days = 'echo "Missing $ (($ (date +% j -d» Dec 31 ") - $ (date +% - j))) izinsuku kuze kube sekupheleni konyaka $ (date +% Y)." '

  9.   neo61 kusho

    Kuyathakazelisa ukukwenza kukhonsoli, kepha uma uyenza nge-exel bese uligcina lelo fayela njalo uma ulivula, lizokunikeza idatha yokuthi zingaki izinsuku ezisele kunoma yini oyifunayo.

  10.   VulkHead kusho

    Iwusizo kakhulu, ngiyabonga!

  11.   guzman6001 kusho

    Iwusizo kakhulu ... Ivumelane nanoma yikuphi ukubala phansi impela. 😛