由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - How to convert a SAS char variable to a date variable.
相关主题
请教一个SAS问题急问
请教SAS转换variable format informat请教SAS base的几道题
【包子】SAS 日期变量问题请教一个SAS问题
SAS help : The scope of macro variables问一个SAS ROLLING AVERAGE CALCULATION 的问题
sas date variable exchangeSAS question
怎么把sas date变成monyyyy形式?SAS code help!! thanks
character变date variable help一道SAS面试题,关于dummy variable
请教两个关于SAS的问题ask SAS code
相关话题的讨论汇总
话题: variable话题: char话题: sas话题: olddate话题: convert
进入Statistics版参与讨论
1 (共1页)
c**********e
发帖数: 2007
1
The char variable has format 02/06/1985.
I tried to use
newdate=input(olddate,date10.);
but does not work. Anybody has any idea? Thank you.
G**S
发帖数: 1108
2

The char variable has format 02/06/1985.
I tried to use
newdate=input(olddate,date10.);
input(olddate,mmddyy10.);
but does not work. Anybody has any idea? Thank you.

【在 c**********e 的大作中提到】
: The char variable has format 02/06/1985.
: I tried to use
: newdate=input(olddate,date10.);
: but does not work. Anybody has any idea? Thank you.

p**d
发帖数: 2
3
use mdy() and substr().
y*****y
发帖数: 98
4
mmddyy10.
1 (共1页)
进入Statistics版参与讨论
相关主题
ask SAS codesas date variable exchange
怎么把SAS里一个表里的字符型字段改为数字型?怎么把sas date变成monyyyy形式?
有个非常非常小白的SAS问题character变date variable help
SAS question (urgent)请教两个关于SAS的问题
请教一个SAS问题急问
请教SAS转换variable format informat请教SAS base的几道题
【包子】SAS 日期变量问题请教一个SAS问题
SAS help : The scope of macro variables问一个SAS ROLLING AVERAGE CALCULATION 的问题
相关话题的讨论汇总
话题: variable话题: char话题: sas话题: olddate话题: convert