Posts Tagged ‘ datestyle=dmy ’

How to convert the datetime character string to SAS datetime value? (ANYDTDTM and MDYAMPM formats)

September 16, 2010
By

When we have a string like this "9/01/2010 11:52:54 AM" and would like to translate the string to a numeric SAS date time variable, most of the times we use SCAN function to extract the information to get the DATETIME format. This is definitely a ted...
Read more »

Tags: , , , , , , , , , ,
Posted in SAS | Comments Off on How to convert the datetime character string to SAS datetime value? (ANYDTDTM and MDYAMPM formats)

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors







Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.