SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Search||next

Transforming Data with SAS Functions
Manipulating SAS Date Values with Functions
 


Question: Add an assignment statement to the DATA step below to create a new variable named Month by extracting the month value from the variable ShipDate. Make sure the variable name is specified exactly as shown.

     data sect2.product;
        set sect2.product;
run;

           

  ||next

 

Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement