How to import vouchers in daily basis or monthly fix date basis

Discussion in 'Free Source Codes' started by Jenny, Jul 3, 2021.

    
  1. Jenny

    Jenny Active Member


    Helloo all developers how to in daily basis or monthly fix date basis

    220 : SET : FixInputDate: $$MonthEnd:$$NextMonth:##FixInputDate ;;this function one entry from month last date .. what is the formula of daily basis and monthly fix date basis
     



  2. if its monthly yo have the right method but if you want daily dates then make 1 more variable like
    VARIABLE : LASTDATE
    and set the last date example is ##fixinputdate + 1
    which will give next day
     
    Jenny likes this.


  3. Jenny

    Jenny Active Member


    yes done....how to fix monthly 1st date entry... if i set 1.4.21 then entry 1.4.21, 1.5.21, 1-6-21 like that
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    put date in proper format, then extract the month using $$MonthofDate and increment by 1......
     
    Jenny likes this.


  5. teja varma

    teja varma Active Member


    If you want a month first date between two dates
    Code:
    
    [Function:MonthStartDateBetweenDates]
        Variable:dStartDate:Date:$$Date:"1-4-2020"
        Variable:dEndDate:Date:$$Date:"1-9-2020"
       
    00:For Range:ItrVar:Date:##dStartDate:##dEndDate:1:"Month"
    01:Log:$$MonthStart:##ItrVar  ;;; It will print start date of month between the the dates provided
    02:End For
    
     


Share This Page