I iam35 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-28 #1 一个字符串 "1997.10-2000.1" 如何用ASP求得两个日期型值 '1997-10-1' 和 '2000-1-1'!
T tianjh007 Unregistered / Unconfirmed GUEST, unregistred user! 2003-04-28 #2 <% S="1997.10-2000.1" S1=Replace(left(s,instr(S,"-")-1)&".1",".","-") S2=Replace(Mid(S,instr(S,"-")+1)&".1",".","-") Response.Write S1&" "&S2 %>
<% S="1997.10-2000.1" S1=Replace(left(s,instr(S,"-")-1)&".1",".","-") S2=Replace(Mid(S,instr(S,"-")+1)&".1",".","-") Response.Write S1&" "&S2 %>