Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SELECT LEFT([Date], 2) & "/" & Mid([Date], 3, 2) & "/" & Right([Date], 4) As FormattedDateString FROM tableName
Most likely true, but there is the possible ambiguity of 12206 being 12/2/06 or 1/22/06. (Not really enough info in the examples to be absolutely sure).SkipVought said:Given the posting examples, I would MOST STRONGLY doubt if 111995 were 1/1/1995.
first 2 are the year, next 2 are the day and last 1 or 2 are the month.
SELECT ILOCNOW_CSV[B][RED]
,[/RED][/B] (IIf(Right(Right(Replace([f4],"/","") & "0",6),2)<"20","20","19") & Right(Right(Replace([f4],"/","") & "0",6),2),Left(Right(Replace([f4],"/","") & "0",6),2),Mid(Right(Replace([f4],"/","") & "0",6),3,2)) AS Expr1
SELECT ILOCNOW_CSV
, dateSerial(iif(right(right(replace([Date],"/","")&"0",6),2)<"20","20","19")
&right(right(replace([Date],"/","")&"0",6),2),left(right(replace([Date],"/"
,"")&"0",6),2),mid(right(replace([Date],"/","")&"0",6),3,2)) AS Expr1
DateSerial(IIF(RIGHT(RIGHT("0"&SUBSTITUTE([Date],"/",""),6),2)<"20","20",
"19")&RIGHT(RIGHT("0"&SUBSTITUTE([Date],"/",""),6),2),LEFT(RIGHT
("0"&SUBSTITUTE([Date],"/",""),6),2),MID(RIGHT("0"&SUBSTITUTE([Date],"/",
""),6),3,2))