如何删除日期格式SAS
我有一列日期9。采用格式。如何删除该格式,以便显示SAS日期编号。例如,我有日期01JUN2021,但我希望它为22432。
I have a column of dates with the DATE9. format applied. How can I remove that format so it just shows the SAS date number. For example, I have the date 01JUN2021 but I want it as 22432.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用格式语句,但不要应用格式。
这本质上可以删除格式。另外,您可以应用数字格式,例如8。或Best12。
Use the format statement but don't apply a format.
This essentially removes a format. Alternatively you could apply a numeric format such as 8. or best12.