Was using 'string format datetime' rather than 'string parse datetime'