07-18-2012 04:00 AM
Create a picture format using the required directives to produce the result you want. You can then either format the existing column, or create a character string using the PUT statement.
picture dtfmt low-high = '%Y%0m%0d_%0H%0M'
format a dtfmt.;
07-18-2012 09:03 AM
I am not sure if understand your question. For example 'today', 20120718, '20' marks CC(century), '12' marks YY, etc. What is the question then? If you are asking why '20' denotes 21st century, well that is way it is, as it started out as 1st instead of 0th century (A.D).