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...

tell me about intnx, intcx functions?

Answer Posted / natrajboga

the INTCK function counts the number of intervals between
the two dates

where as INTCX function advances the date or time values
by a given interval and returns a date or time values

for example:

data xxx;
count= intck('week','1aug1998'd,'31aug1998'd);
run;
proc print;run;
the result would be 5 (it represents the no of weeks)

data yyy;
count= intnx('month','1aug1998'd,1);
run;

proc print;run;
the result would be the 1sep1998. becaz it corresponds to
the beginning of the next interval.

Is This Answer Correct ?    15 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define proc in sas? : sas-grid-administration

1029


Name and describe few sas character functions that are used for data cleaning in brief.

1056


explain the function of substr in sas? : Sas-administrator

954


What are the statements in proc sql?

1043


Why double trailing @@ is used in input statement?

1150


what are _numeric_ and _character_ and what do they do? : Sas programming

1102


for whom is sas data integration studio designed? : Sas-di

946


What is Linear Regression?

1104


Explain input and put function?

1082


what is sas olap server? : Sas-di

1192


What is the order of application for output data set options, input data set options and SAS statements?

1503


What do you understand by the term Normal Distribution?

922


I need level 2 to 5 sas using companies in india

2327


Explain the difference between nodup and nodupkey options?

962


In sas, what are the areas that you are most interested in? : sas-grid-administration

1022