I am working a a script to get the last access time for standard and non-standard software. When I do a split statement to modify the date from yyyy/mm/dd to mm/dd/yyyy the year is not translating.
Code:
Dim $,$strLastaccess,$strLastAcc
$strLastaccess=GetFileTime($strPath+"\"+$filename,2)
$=Split ($strLastaccess,"/")
$strLastAcc=$[1]+'/'+$[2]+'/'+$[0]
?$strLastAcc



The results come out looking like this:
11/21 14:38:02/2005
_________________________
I haven't failed. I just found another way that did not work.