year dif function

Discussion in 'Simplilearn Support' started by vimalkumar pansara, May 19, 2018.

  1. vimalkumar pansara

    Alumni

    Joined:
    Oct 6, 2017
    Messages:
    7
    Likes Received:
    0
    kindly share me year dif function of SAS
     
    #1
  2. Priyanka_Mehta

    Priyanka_Mehta Well-Known Member
    Simplilearn Support

    Joined:
    May 25, 2017
    Messages:
    868
    Likes Received:
    61
    Hi Vimal,

    I hope your are talking about YRDIF function in SAS.

    If yes, then please find the documentation for the same provided on SAS community link mentioned below:
    http://support.sas.com/documentatio...t/viewer.htm#p1pmmr2dtec32an1vbsqmm3abil5.htm

    Syntax - YRDIF(start-date,end-date,<basis>)
    Required Arguments
    start-date - specifies a SAS date value that identifies the starting date.
    end-date - specifies a SAS date value that identifies the ending date.
    Optional Argument
    basis - identifies a character constant or variable that describes how SAS calculates a date difference or a person’s age.

    I am sure this will help you.
     
    #2
    vimalkumar pansara likes this.
  3. vimalkumar pansara

    Alumni

    Joined:
    Oct 6, 2017
    Messages:
    7
    Likes Received:
    0
    thanks priyanka
     
    #3
  4. vimalkumar pansara

    Alumni

    Joined:
    Oct 6, 2017
    Messages:
    7
    Likes Received:
    0
    Respected priyanka

    pls share me proc summary code
     
    #4

Share This Page