dateArray=Date
dateArray=split(dateArray,"-")
tYear=dateArray(0):tMonth=dateArray(1):tDay=dateArray(2)
curYear=tYear If tmonth<10 Then
curmonth="0"&tmonth else
curmonth=tmonth EndIf If tDay<10 Then
curday="0"&tday else
curday=tday EndIf 出错提示:
Line (5): "tYear=dateArray(0):tMonth=dateArray(1):tDay=dateArray(2)". 下标越界: '[number: 1]'The test run cannot continue due to an unrecoverable error. 请各位大神帮忙分析一下,到底要怎么修改,万分感谢!!!