Extracting datetime from a given time:

Extracted datetime
20091008202430