|
发表于 2018-8-24 13:49:30
|
显示全部楼层
本帖最后由 sytuyl* 于 2018-8-24 15:02 编辑
楼主 datetime后面是什么看不到 {:cry:}
找到了
MyDate = StringUpper(dateTimeString("localTime?", True))
MyDay = subString(MyDate, 9, 10)
MyMonth=if(subString(MyDate, 5, 7)=="JAN")("01")ELSE IF(subString(MyDate, 5, 7)=="FEB")("02")ELSE IF(subString(MyDate, 5, 7)=="MAR")("03")ELSE IF(subString(MyDate, 5, 7)=="APR")("04")ELSE IF(subString(MyDate, 5, 7)=="MAY")("05")ELSE IF(subString(MyDate, 5, 7)=="JUN")("06")ELSE IF(subString(MyDate, 5, 7)=="JUL")("07")ELSE IF(subString(MyDate, 5, 7)=="AUG")("08")ELSE IF(subString(MyDate, 5, 7)=="SEP")("09")ELSE IF(subString(MyDate, 5, 7)=="OCT")("10")ELSE IF(subString(MyDate, 5, 7)=="NOV")("11")ELSE("12")
MyYear = subString(MyDate, 21, 25)
MyTimeStamp = MyDay + " " + MyMonth + " " + MyYear
|
|