<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:gd="http://schemas.google.com/g/2005"><id>tag:blogger.com,1999:blog-7958828565254404797.post2202774406044017193..comments</id><updated>2024-12-13T03:11:35.450-08:00</updated><title type='text'>Comments on ListenData: SAS Date Formats and Informats</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.listendata.com/feeds/comments/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html'/><link rel="hub" href="http://pubsubhubbub.appspot.com/"/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default?start-index=26&max-results=25'/><author><name>Deepanshu Bhalla</name><uri>http://www.blogger.com/profile/09802839558125192674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXm_iOrXFR9Ls-mjtOci4qd1m1V1TXkkWJINuMy84-Axo5pNS6CG7oKwR7hfHHI3tB1yuz8W_qo9HK2Cw5fHfe_4cL_2DCf_LyoK9LMLicZojbNYgypIP-RXNsw1GsVhk/s100/pic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-6214412083670919478</id><published>2024-03-21T07:44:34.887-07:00</published><updated>2024-03-21T07:44:34.887-07:00</updated><title type='text'>Check out this link - https://www.listendata.com/2...</title><content type='html'>Check out this link - https://www.listendata.com/2024/03/how-to-extract-date-from-datetime-in-sas.html</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6214412083670919478'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6214412083670919478'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1711032274887#c6214412083670919478' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8546279799450821418'/><author><name>Deepanshu Bhalla</name><uri>https://www.blogger.com/profile/09802839558125192674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXm_iOrXFR9Ls-mjtOci4qd1m1V1TXkkWJINuMy84-Axo5pNS6CG7oKwR7hfHHI3tB1yuz8W_qo9HK2Cw5fHfe_4cL_2DCf_LyoK9LMLicZojbNYgypIP-RXNsw1GsVhk/s100/pic.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-966036103"/><gd:extendedProperty name="blogger.displayTime" value="March 21, 2024 at 7:44 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8546279799450821418</id><published>2024-03-21T03:55:02.888-07:00</published><updated>2024-03-21T03:55:02.888-07:00</updated><title type='text'>i have a sas dataset with character column as 202...</title><content type='html'>i have a sas dataset with character column as 2024-01-29 05:04:43. how to convert into date, if anyone knows pls let me know.I just need date only<br /></content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8546279799450821418'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8546279799450821418'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1711018502888#c8546279799450821418' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="March 21, 2024 at 3:55 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-2829873544276881086</id><published>2022-04-14T11:34:07.250-07:00</published><updated>2022-04-14T11:34:07.250-07:00</updated><title type='text'>unable to understand @6 and @15 so plz make a note...</title><content type='html'>unable to understand @6 and @15 so plz make a note on that particular topic...By the way Listen-data is awesome.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/2829873544276881086'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/2829873544276881086'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1649961247250#c2829873544276881086' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/17829446566172117852</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-605967603"/><gd:extendedProperty name="blogger.displayTime" value="April 14, 2022 at 11:34 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-6321465640776822627</id><published>2022-03-14T15:58:47.081-07:00</published><updated>2022-03-14T15:58:47.081-07:00</updated><title type='text'>Date9.</title><content type='html'>Date9.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6321465640776822627'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6321465640776822627'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1647298727081#c6321465640776822627' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/949121097405461789'/><author><name>Karthika</name><uri>https://www.blogger.com/profile/05217510581182888295</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-274250784"/><gd:extendedProperty name="blogger.displayTime" value="March 14, 2022 at 3:58 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-7191274872317712271</id><published>2022-01-23T21:37:43.591-08:00</published><updated>2022-01-23T21:37:43.591-08:00</updated><title type='text'>Hi, 

we can read dates in different formats but w...</title><content type='html'>Hi, <br /><br />we can read dates in different formats but while reading the data from external files the informat should match with data. If you are writing data in data step then you can mention the different formats as per your need. Please check the below sample code.<br /><br />DATA sampledata;<br /> INPUT @6 date1 ddmmyy8. @15 date2 ddmmyy10.;<br /> FORMAT date1 ddmmyy8. date2 ddmmyy10.;<br /> cards;<br /> 30-12-16 30-12-2016<br /> ;<br />RUN;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/7191274872317712271'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/7191274872317712271'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1643002663591#c7191274872317712271' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3444375087369477296'/><author><name>ravi</name><uri>https://www.blogger.com/profile/12051180291065695712</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitkb3x-_iayRoHpGT6QM7UByzjnXhmAnx318yG2AI4U2GSO9J8Kq6XZ4APG1fqKtpjmeOkFLgIegLMqSWoP6pdn_tmVLP0d9AFvLPl47twUhrgDpNtxUx3GdQcSxKSzFw/s220/me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2100201656"/><gd:extendedProperty name="blogger.displayTime" value="January 23, 2022 at 9:37 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-6710033582251437661</id><published>2022-01-23T21:07:27.378-08:00</published><updated>2022-01-23T21:07:27.378-08:00</updated><title type='text'>We can use mmddyy10.; format</title><content type='html'>We can use mmddyy10.; format</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6710033582251437661'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6710033582251437661'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1643000847378#c6710033582251437661' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5473533401809815408'/><author><name>ravi</name><uri>https://www.blogger.com/profile/12051180291065695712</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitkb3x-_iayRoHpGT6QM7UByzjnXhmAnx318yG2AI4U2GSO9J8Kq6XZ4APG1fqKtpjmeOkFLgIegLMqSWoP6pdn_tmVLP0d9AFvLPl47twUhrgDpNtxUx3GdQcSxKSzFw/s220/me.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2100201656"/><gd:extendedProperty name="blogger.displayTime" value="January 23, 2022 at 9:07 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-3444375087369477296</id><published>2021-09-16T10:21:10.999-07:00</published><updated>2021-09-16T10:21:10.999-07:00</updated><title type='text'>I want to read dates in different formats in the s...</title><content type='html'>I want to read dates in different formats in the same dataset how i can solve this</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3444375087369477296'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3444375087369477296'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1631812870999#c3444375087369477296' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/01994722729784562461</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-759397367"/><gd:extendedProperty name="blogger.displayTime" value="September 16, 2021 at 10:21 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-652369065294930982</id><published>2021-08-07T10:18:16.886-07:00</published><updated>2021-08-07T10:18:16.886-07:00</updated><title type='text'>Try Date11.</title><content type='html'>Try Date11.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/652369065294930982'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/652369065294930982'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1628356696886#c652369065294930982' title=''/><author><name>Moxie Doodlesack</name><uri>https://www.blogger.com/profile/03587213224517927851</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1062620385"/><gd:extendedProperty name="blogger.displayTime" value="August 7, 2021 at 10:18 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-3418197365198899386</id><published>2021-06-13T09:44:13.040-07:00</published><updated>2021-06-13T09:44:13.040-07:00</updated><title type='text'>Data Mrg;
Infile &#39;\home\data\ds\Mrg.txt&#39;;
...</title><content type='html'>Data Mrg;<br />Infile &#39;\home\data\ds\Mrg.txt&#39;;<br />Input member Id name$ dob;<br />Datalines;<br />Run;<br /><br />I want date format dob example.16-04-1999,infile store input value 16041999 how to solve..<br /></content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3418197365198899386'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3418197365198899386'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1623602653040#c3418197365198899386' title=''/><author><name>Raja</name><uri>https://www.blogger.com/profile/07289864962341550045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-582509113"/><gd:extendedProperty name="blogger.displayTime" value="June 13, 2021 at 9:44 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8739514086351593205</id><published>2021-04-13T12:13:23.694-07:00</published><updated>2021-04-13T12:13:23.694-07:00</updated><title type='text'>@X -- It defines the starting position of your dat...</title><content type='html'>@X -- It defines the starting position of your data set. In above example @6 signifies that column valure starts from 6th.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8739514086351593205'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8739514086351593205'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1618341203694#c8739514086351593205' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5668703953753822640'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="April 13, 2021 at 12:13 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-1797212233679999268</id><published>2020-11-05T21:03:53.129-08:00</published><updated>2020-11-05T21:03:53.129-08:00</updated><title type='text'>@--it is read it as single trail(@)in sas. it mean...</title><content type='html'>@--it is read it as single trail(@)in sas. it means starting position of the variable.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/1797212233679999268'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/1797212233679999268'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1604639033129#c1797212233679999268' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/1074309695730703460'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/16054552801247046671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1151765666"/><gd:extendedProperty name="blogger.displayTime" value="November 5, 2020 at 9:03 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-5264881939752839140</id><published>2020-11-05T20:52:59.563-08:00</published><updated>2020-11-05T20:52:59.563-08:00</updated><title type='text'>use yymmdd10. format is helpful;</title><content type='html'>use yymmdd10. format is helpful;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5264881939752839140'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5264881939752839140'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1604638379563#c5264881939752839140' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8424384022549698669'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/16054552801247046671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1151765666"/><gd:extendedProperty name="blogger.displayTime" value="November 5, 2020 at 8:52 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-6773279096974413783</id><published>2020-11-05T20:50:11.741-08:00</published><updated>2020-11-05T20:50:11.741-08:00</updated><title type='text'>date9.;</title><content type='html'>date9.;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6773279096974413783'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6773279096974413783'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1604638211741#c6773279096974413783' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/949121097405461789'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/16054552801247046671</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1151765666"/><gd:extendedProperty name="blogger.displayTime" value="November 5, 2020 at 8:50 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-5369209810039574973</id><published>2019-09-14T13:41:01.661-07:00</published><updated>2019-09-14T13:41:01.661-07:00</updated><title type='text'>Hi,

I think your data step is incorrect. Below i...</title><content type='html'>Hi,<br /><br />I think your data step is incorrect. Below is what I thought it should be with some formats applied<br /><br />data rec;<br />a=&quot;12feb1980&quot;d;<br />b=&quot;12feb1980&quot;d;<br />c=&quot;12feb1980&quot;d;<br />format a b c date9.;<br />run;<br /><br />proc print data=rec;<br />run;<br /><br />proc print data=rec;<br />format a b c WORDDATX19.;<br />run;<br /><br />proc print data=rec;<br />format a b c DDMMYYS10.;<br />run;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5369209810039574973'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5369209810039574973'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1568493661661#c5369209810039574973' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5796157997544525149'/><author><name>Hockleberry Clover</name><uri>https://www.blogger.com/profile/11601801206642285721</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1011334598"/><gd:extendedProperty name="blogger.displayTime" value="September 14, 2019 at 1:41 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-5796157997544525149</id><published>2019-02-22T10:59:32.502-08:00</published><updated>2019-02-22T10:59:32.502-08:00</updated><title type='text'>hi i have doubt on the following programme how can...</title><content type='html'>hi i have doubt on the following programme how can sas read the data and how i have to use informat and format<br />data=rec;<br />a=12feb1980;<br />b=&quot;12feb1980&quot;;<br />c=&quot;12feb1980&quot;d;<br />run;<br />proc print data=rec;<br />run;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5796157997544525149'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5796157997544525149'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1550861972502#c5796157997544525149' title=''/><author><name>Unknown</name><uri>https://www.blogger.com/profile/14988880809924743910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-2087749216"/><gd:extendedProperty name="blogger.displayTime" value="February 22, 2019 at 10:59 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-3680799640824017128</id><published>2019-01-19T20:56:04.700-08:00</published><updated>2019-01-19T20:56:04.700-08:00</updated><title type='text'>even i hv the same question</title><content type='html'>even i hv the same question</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3680799640824017128'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3680799640824017128'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1547960164700#c3680799640824017128' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5668703953753822640'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/13367425734431308736</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1354480620"/><gd:extendedProperty name="blogger.displayTime" value="January 19, 2019 at 8:56 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-6895617192761577454</id><published>2018-11-10T05:19:22.603-08:00</published><updated>2018-11-10T05:19:22.603-08:00</updated><title type='text'>data _null_;
today=datetime();
format today dateti...</title><content type='html'>data _null_;<br />today=datetime();<br />format today datetime.;<br />put today;<br />run;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6895617192761577454'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/6895617192761577454'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1541855962603#c6895617192761577454' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3990668647103983497'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="November 10, 2018 at 5:19 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-5473533401809815408</id><published>2018-10-04T03:47:26.969-07:00</published><updated>2018-10-04T03:47:26.969-07:00</updated><title type='text'>which format should be used to read date in mm-dd-...</title><content type='html'>which format should be used to read date in mm-dd-yyyy format?</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5473533401809815408'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5473533401809815408'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1538650046969#c5473533401809815408' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/04230137826512700334</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1633609838"/><gd:extendedProperty name="blogger.displayTime" value="October 4, 2018 at 3:47 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-4792449869045277448</id><published>2018-09-18T10:16:18.066-07:00</published><updated>2018-09-18T10:16:18.066-07:00</updated><title type='text'>use yyddmm10. format this will help u!!</title><content type='html'>use yyddmm10. format this will help u!!</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/4792449869045277448'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/4792449869045277448'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1537290978066#c4792449869045277448' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8424384022549698669'/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/12178730044636969260</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-3363988"/><gd:extendedProperty name="blogger.displayTime" value="September 18, 2018 at 10:16 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-169479835155687551</id><published>2018-08-01T11:28:58.026-07:00</published><updated>2018-08-01T11:28:58.026-07:00</updated><title type='text'>Above date i have to read through CSV file.</title><content type='html'>Above date i have to read through CSV file.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/169479835155687551'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/169479835155687551'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1533148138026#c169479835155687551' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/00258760143120850240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1792553245"/><gd:extendedProperty name="blogger.displayTime" value="August 1, 2018 at 11:28 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-8424384022549698669</id><published>2018-08-01T11:27:41.404-07:00</published><updated>2018-08-01T11:27:41.404-07:00</updated><title type='text'>How to read below type of format:
2012-03-02
kindl...</title><content type='html'>How to read below type of format:<br />2012-03-02<br />kindly suggest.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8424384022549698669'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/8424384022549698669'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1533148061404#c8424384022549698669' title=''/><author><name>Anonymous</name><uri>https://www.blogger.com/profile/00258760143120850240</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1792553245"/><gd:extendedProperty name="blogger.displayTime" value="August 1, 2018 at 11:27 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-5695354630361300254</id><published>2018-05-14T08:38:23.171-07:00</published><updated>2018-05-14T08:38:23.171-07:00</updated><title type='text'>Use &quot;monname&quot;

Example : 
data xyz;
dt=t...</title><content type='html'>Use &quot;monname&quot;<br /><br />Example : <br />data xyz;<br />dt=today();<br />format dt monname.;<br />run;<br /><br /></content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5695354630361300254'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5695354630361300254'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1526312303171#c5695354630361300254' title=''/><link rel='related' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/262799511379476245'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="May 14, 2018 at 8:38 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-1074309695730703460</id><published>2018-05-14T08:12:49.329-07:00</published><updated>2018-05-14T08:12:49.329-07:00</updated><title type='text'>what is the use of @ in this chapter. i believe th...</title><content type='html'>what is the use of @ in this chapter. i believe this @ symbol is used for the formatting.</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/1074309695730703460'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/1074309695730703460'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1526310769329#c1074309695730703460' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="May 14, 2018 at 8:12 AM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-3268588129969992889</id><published>2018-03-02T20:06:01.762-08:00</published><updated>2018-03-02T20:06:01.762-08:00</updated><title type='text'>Hello Deepanshu 
as we have different dates in on...</title><content type='html'>Hello Deepanshu <br />as we have different dates in one format using anydtdte. <br />can we convert dates in one variable in different formats? <br /></content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3268588129969992889'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/3268588129969992889'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1520049961762#c3268588129969992889' title=''/><author><name>Karan</name><uri>https://www.blogger.com/profile/08190687005998238861</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-1537236198"/><gd:extendedProperty name="blogger.displayTime" value="March 2, 2018 at 8:06 PM"/></entry><entry><id>tag:blogger.com,1999:blog-7958828565254404797.post-5668703953753822640</id><published>2018-01-09T15:18:21.412-08:00</published><updated>2018-01-09T15:18:21.412-08:00</updated><title type='text'>Why used @6 and @15 in the below statment.

INPUT ...</title><content type='html'>Why used @6 and @15 in the below statment.<br /><br />INPUT @6 date1 ddmmyy8. @15 date2 ddmmyy10.;</content><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5668703953753822640'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7958828565254404797/2202774406044017193/comments/default/5668703953753822640'/><link rel='alternate' type='text/html' href='https://www.listendata.com/2016/12/sas-date-formats.html?showComment=1515539901412#c5668703953753822640' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='https://www.listendata.com/2016/12/sas-date-formats.html' ref='tag:blogger.com,1999:blog-7958828565254404797.post-2202774406044017193' source='http://www.blogger.com/feeds/7958828565254404797/posts/default/2202774406044017193' type='text/html'/><gd:extendedProperty name="blogger.itemClass" value="pid-6939909"/><gd:extendedProperty name="blogger.displayTime" value="January 9, 2018 at 3:18 PM"/></entry></feed>