If you'd executed every intermediate steps, you would have seen that strcat ignores trailing spaces (as documented):
strcat('26/06/1998',' ','15:00:00')
> 26/06/199815:00:00
The fix is rather easy: just don't use strcat, but rather use plain matrix concatenation:
strSrcDate = ['26/06/1998',' ','15:00:00']
Next you're using the wrong date conversion function. datestr is to convert tó a string, not from. Ok ok, it can handle string input, but that's quite restricted. You'll want to use datenum:
This gives a date serial (read the doc!), which is a number that represents a date (without any ambiguity). Use that number for internal storage of a date, and when you want to print that date out to screen or file, convert it to a string using datestr:
numSrcDate = datenum(strSrcDate,'dd/mm/yyyy HH:MM:SS')
> 729932.625
datestr(numSrcDate,'dd/mm/yyyy HH:MM:SS'); % or any other format
datestr(numSrcDate,'dd/mm/yy HH:MM');
> 26/06/1998 15:00:00
> 26/06/98 15:00