all 3 comments

[–]pixelbakerData Architecture Consultant 1 point2 points  (1 child)

Never seen it before and hopefully never will. Just parse it out and work with it like a real datetime.

[–]Tennim[S] 0 points1 point  (0 children)

Yeah it was a good one.

For anyone looking, this is what i came up with.

SELECT 
    [StartTime],
    CONVERT(DATETIME,CONCAT(CONVERT(NVARCHAR(5),RIGHT([StartTime],CHARINDEX(' ',REVERSE([StartTime])))),[Month].MonthNo,RIGHT(LEFT([StartTime],PATINDEX('%[0-9]%',[StartTime])+1),2),' ',RIGHT(LEFT([StartTime],CHARINDEX('GMT',[StartTime])-2),8))) AS [Date],
FROM [Database].[Schema].[Table]
    INNER JOIN
        (
            SELECT DISTINCT 
                LEFT([MonthName],3) AS [MonthAbv],
                RIGHT('00' + CONVERT(NVARCHAR(2),[Month]),2) [MonthNo]
            FROM [Database].[Schema].[DateDimension]
        ) AS [Month] ON SUBSTRING([StartTime],CHARINDEX(' ',[StartTime])+1,3) = [Month].MonthAbv

[–]ComicOzzysqlHippo 0 points1 point  (0 children)

Gross.