Perhaps this small sample can give you some hints
[pre]
data test;
datetime_txt = '2008-09-06-03.30.45.101010';
date_num = input(substr(datetime_txt,1,10), yymmdd10.);
time_num = input(substr(datetime_txt,12), time15.);
datetime_sas = date_num * 86400 + time_num;
put date_num date. time_num time. datetime_sas datetime22.;
run;
[/pre]
You have many ways to import and format your datetime, date and time values. Your 'problem' is that you got the year first in your datetime text, where's SAS normally got it last.
If you can find a SAS date function or informat/format then use it, and not the substr I use in the small sample above (its quick and dirty - like my 'dirty' datetime transformation).