Your original code is quite close; instead of:
@"yyyyMMddThhmmss"
You should be using:
@"yyyyMMdd'T'hhmmss"
The only difference is the pair of single quotes around the 'T' in the string- you just need to let the app know that 'T' is a part of the formatting, not the actual date.