Which date functions advances a date time or date/time
value by agiven interval?

Answers were Sorted based on User's Feedback



Which date functions advances a date time or date/time value by agiven interval?..

Answer / vicky

its INTNX.

Is This Answer Correct ?    4 Yes 0 No

Which date functions advances a date time or date/time value by agiven interval?..

Answer / sai krishna

Using INTNX as

c=intnx(interval,date,n);

data u;
c=intnx(month,'01jan08'd,1);
run;

the result for c would be 01feb08

Is This Answer Correct ?    4 Yes 1 No

Which date functions advances a date time or date/time value by agiven interval?..

Answer / amit

its INTCK, which computes number of interval b\w two dates

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More SAS Interview Questions

What are TEAEs

2 Answers   Accenture, Quintiles,


in which companies SAS openings are there? List of companies using SAS technology.

14 Answers   MIR-IFCR, TCS,


Have you ever linked SAS code? If so, describe the link and any required statements used to either process the code or the step itself.

2 Answers   Accenture,


I need help in merging two different datasets. I am merging by date and I want to propagate observations from one dataset to the corresponding dates. One dataset has a unique date for each day of the month, while the other dataset has same date for different patient visits. For example I want to spread an observation on the 31DEC2008 from one dataset to several observations with the same date on a second dataset for all the patients who visited on that date. I have tried to merge the two and the result is not what I wanted. Instead I get a dataset whereby all the dates have missing values where observations from the first datset should have spread.

1 Answers  


i have a dataset with 25 obs; 10th obs has like ramu,anji,ramu,azad,ramu like this. i want to know how many times the word repeats in that obs?

3 Answers  






What are the features of base sas system?

0 Answers  


how would you create multiple observations from a single observation? : Sas programming

0 Answers  


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

0 Answers  


What are the analysis datasets created, and what are the new variables created in CLINICAL SAS

1 Answers   Accenture, Sciformix,


what is the primary data source for the wrs? : Sas-bi

0 Answers  


Give some ways by which you can define the variables to produce the summary report (using proc report)?

0 Answers  


what is the need of INDEX in datasets?

6 Answers   CitiGroup,


Categories