To read timestamp from a line

I have a situation like, I have to read only the timestamp value from a line.
ex: Date and Time : 2013-05-11 12:12:34 MST

I cut the 'Date and Time' but unable to remove MST part.
I need a script to use in Datastage job.

can you guys help me with that

Thanks in advance

First of all, please don't hijack thread.

Can you show us how you used cut?

I got it :slight_smile:

cut -c 16-35 filename