Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

New date variable

$
0
0
I'm trying to create a new date variable using values from other variables using several date functions.

I want to use the month function and day function from the Hire_Date field and the constant of the year 2009 in the MDY function.

HDate=mdy(Hire_Date, Hire_Date, 2009)

I get an error message when using the comma as well as without a comma. What am I missing? Any assistance would be appreciated. Thanks.

Viewing all articles
Browse latest Browse all 310

Trending Articles