hi,i have a following code that i need to convert into datetime format:DECLARE @temp table (Ddate varchar(20))insert into @temp select '3.11.2009 14:55:53' union select '12.11.2009 22:39:49' union select '12.9.2009 22:39:49' union select '2.3.2009 22:39:49'select Ddate,cast(SUBSTRING(Ddate, 1,CHARINDEX('.', Ddate) - 1) as int) as [day],replace(substring(Ddate, charindex('.',Ddate)+1, len(charindex('.',Ddate,charindex('.',Ddate)))+1),'.','') as [month]from @tempI need to break down also year. is there a faster way to do this?thank you in advance.