How to use $$Date function

Discussion in 'Tally Developer' started by mohankumar, Mar 16, 2013.

    
  1. mohankumar

    mohankumar New Member


    Hi all,

    How can I use this $$Date function for to set the value into variable and date comparison, Please help me.

    Ex:
    I have tried this but it doesn't work.

    Variable:dateValStr: String
    Variable:dateValDate: Date

    ;; It was working correctly
    001: SET : dateValStr : "02/03/2013"

    ;; It was not working correctly and not set the value
    002: SET : dateValDate : ($$Date:##dateValStr)
    003: SET: dateValDate :($$Date:"10-03-2013")
    004: $$MachineDate <= ##dateValDate ;; Here dateValDate not set properly.

    Please help me for How can I use this function and If you know please share your examples.
     


  2. Sangam

    Sangam New Member


    try with below code

    $$MachineDate <=$$Reqobject: ##dateValDate
     


  3. admin

    admin Administrator Staff Member


    Use as

    003: SET: dateValDate : $$Date:"10/03/2013") ;; / instead of "-"
     


Share This Page