Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

. Which date advances a date, time or date/time value by a
given interval?

Answer Posted / pambrose

Here is the detailed usage of intnx function

date1=intnx('month','01jan95'd,5,'beginning');
put date1 / date1 date7.;

date2=intnx('month','01jan95'd,5,'middle');
put date2 / date2 date7.;

date3=intnx('month','01jan95'd,5,'end');
put date3 / date3 date7.;

date4=intnx('month','01jan95'd,5,'sameday');
put date4 / date4 date7.;

date5=intnx('month','15mar2000'd,5,'same');
put date5 / date5 date9.;

interval='month';
date='1sep2001'd;
align='m';
date4=intnx(interval,date,2,align)
;put date4 / date4 date7.;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1620


Explain what is the use of proc gplot?

1198


Explain the use of proc gplot? : sas-grid-administration

988


Mention the difference between ceil and floor functions in sas?

1157


Do you need to rearrange the order of the data for the report?

2309


Tell e how how dealt with..

2226


What are the automatic variables for macro? : sas-macro

1256


Explain append procedure?

1087


How do you delete duplicate observations in sas?

1074


Can you suggest us materials for sdtm mapping?

4448


What does P-value signify about the statistical data?

1364


Why and when do you use proc sql?

1250


what is the use of proc sql? : Sas programming

1133


Explain input and put function?

1146


what are the types of interactive display types? : Sas-bi

1100