now()的显示
请问一个问题:now() 的值输出来是 2006-4-25 16:14:16 这样子
可不可让这个值输出来变成2006425161416 怎么做?
<%
a_time=replace(now()," ","")
a_time=replace(a_time,":","")
a_time=replace(a_time,"-","")
Response.Write(a_time)
%>
[此贴子已经被作者于2006-4-25 21:18:29编辑过]
是啊 可是输出来的字符窜是月日年秒这个排列的
怎么把它写成年月日秒这样子呢?
asdf=DateValue(now())
asdf=replace(asdf,"-","")
ice=TimeValue(time)
ice=replace(ice,":","")
asdfice=asdf & ice
response.write asdfice
[此贴子已经被作者于2006-4-26 20:49:05编辑过]