Added a function to SimpleInputTimestampFormat to remove the milliseconds part of a timestamp string.