Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このフォーラムで SAS の日付に関するいくつかの質問を見つけましたが、この質問に対する答えを見つけることができませんでした。かなり単純だと思いますが、正しく理解できません。
何らかの理由で文字形式の日付 (DD-MM-YYYY) を持つデータ セットがあります。日付形式(YYYY-MM-DD)に変換してほしい。パーツを分離して連結することで正しく「見える」ようにすることはできますが、正しい形式にすることはできません。
適切な入力形式で input() 関数を使用します。
datevariable=input(textvariable,ddmmyy10.);