Hi there;
I'm trying to convert this 11:15:AM into a datetime format.
The problem I see is the second ) I've tried to remove it but still I'm getting an error.
I've tried these:
CONVERT(varchar(8),mytime,108)
RTRIM(SUBSTRING(mytime,1,5)+' '+SUBSTRING(mytime,7,2))
any other suggestions.
I'm trying to convert this 11:15:AM into a datetime format.
The problem I see is the second ) I've tried to remove it but still I'm getting an error.
I've tried these:
CONVERT(varchar(8),mytime,108)
RTRIM(SUBSTRING(mytime,1,5)+' '+SUBSTRING(mytime,7,2))
any other suggestions.