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 different between functions and PROCs that calculate the same simple descriptive statistics?

1717


How do you delete duplicate observations in sas?

1006


How will you react when, while consulting a SAS documentation manual to get an answer to a problem, someone says hey, I thought you were supposed to know all that stuff already, and not have to look it up in a book?

2398


Differentiate between format and informat? : sas-grid-administration

1007


how does sas handle missing values in functions? : Sas programming

1118


describe how to adjust the performance of data integrator? : Sas-di

942


In proc transpose and data step with arrays which one you pick?

3038


how does sas handle missing values in assignment statements? : Sas programming

964


Briefly explain input and put function?

1026


What are the different versions of sas that you have used until now? : sas-grid-administration

1269


what do the pad and dim functions do? : Sas programming

958


What is a macro routine?

2635


how do you want missing values handled? : Sas programming

895


Can you explain the process of calendar?

1051


What are the different types of sas functions?

1183