Something like this I think:
Hour = SUBSTR(result_dts, 11, 2);
Minute = SUBSTR(result_dts, 14, 2);
Second = SUBSTR(result_dts, 17, 2);
Jim
Results:
![jimbarbour_0-1602460774399.png jimbarbour_0-1602460774399.png](https://communities.sas.com/t5/image/serverpage/image-id/50553i306BE762107C1A63/image-size/large?v=v2&px=999)
P.S. The above code will give you character values. If you need to perform any type of numeric operations, you'll need to turn them into numeric variables by wrapping them in an INPUT() function. Like this:
Hour = INPUT(SUBSTR(result_dts, 11, 2), 2.);
Minute = INPUT(SUBSTR(result_dts, 14, 2), 2.);
Second = INPUT(SUBSTR(result_dts, 17, 2), 2.);