Hello,
Im trying to convert a string which is written as 5/16/2005 to a date in the format yyyy mm dd.
So far Im using this syntax
dim str1 as string
dim strday as string
dim strmon as string
dim stryear as string
dim strdate as string
str1 = {Tractors_TTX.YEAR_PURCHASED}
stryear = left(str1,4)
strday = right(str1,2)
strmon = left(right(str1,4),2)
formula = stryear & strmon & strday
but its still showing month, day, year
any help would be appreciated.
Im trying to convert a string which is written as 5/16/2005 to a date in the format yyyy mm dd.
So far Im using this syntax
dim str1 as string
dim strday as string
dim strmon as string
dim stryear as string
dim strdate as string
str1 = {Tractors_TTX.YEAR_PURCHASED}
stryear = left(str1,4)
strday = right(str1,2)
strmon = left(right(str1,4),2)
formula = stryear & strmon & strday
but its still showing month, day, year
any help would be appreciated.