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

what is the one statement to set the criteria of data that can be coded in any step? : Sas programming

1141


Why and when do you use proc sql?

1240


what are sas bi dashboard components? : Sas-bi

1165


what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming

1068


What are the differences between sum function and using “+” operator?

1099


How substr function works in sas?

1214


What is the sas data set? : sas-grid-administration

976


What is the command used to find missing values?

1093


Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1675


explain the key concept of sas? : Sas-administrator

985


Explain what is data step?

1191


What is data _null_?

1133


In ARRAY processing, what does the DIM function do?

1164


Describe a time when you were really stuck on a problem and how you solved it?

2544


what is intially documentation in sas?

5037