[Python] Get unique value in Persian date picker persiandatepicker

Discussão em 'Python' iniciado por Stack, Maio 1, 2025.

  1. Stack

    Stack Membro Participativo

    In the old version of persiandatepicker (Behzadi) Calendar, I used to get a unique value for each day by executing the following code, which allowed me to calculate between days,

    var jdf = new jDateFunctions();
    var pd = new persianDate();
    $f = jdf.getJulianDayFromPersian(pd.parae($("#start").getControl.attr("data-jdate"))):


    Alert($f);

    but in the new version (https://github.com/behzadi/persianDatepicker) , this command does not work. Can anyone help me get a unique numeric value for each day in the new update of this library?

    Continue reading...

Compartilhe esta Página