timestampy = cstr(right("00" &Month(now()),2)) timestampm = cstr(right("00" &day(now()),2)) timestampd = cstr(right("00" &hour(now()),2)) timestamph = cstr(right("00" &Minute(now()),2)) timestamps = cstr(right("00" &Second(now()),2)) timestamp=timestampy+timestampm+timestampd+timestamph+timestamps
1
mengwangyun2017 OP timestampy = cstr(right("00" &Month(now()),2))
timestampm = cstr(right("00" &day(now()),2)) timestampd = cstr(right("00" &hour(now()),2)) timestamph = cstr(right("00" &Minute(now()),2)) timestamps = cstr(right("00" &Second(now()),2)) timestamp=timestampy+timestampm+timestampd+timestamph+timestamps |
2
ryd994 2017-05-08 18:19:19 +08:00 via Android
不了解 asp,但是一般都会有 timetostr 的函数
然后按照 ISO8601 指定格式就好 |