ASP 时间去掉日期

asp

2008-06-02 14:56

FormatDateTime(date,N)
d=now()
response.Write(formatdatetime(d,0))
response.Write("<br>")
response.Write(formatdatetime(d,1))
response.Write("<br>")
response.Write(formatdatetime(d,2))
response.Write("<br>")
response.Write(formatdatetime(d,3))
response.Write("<br>")
response.Write(formatdatetime(d,4))
response.Write("<br>")

2009-8-18 PM 03:10:50
2009年8月18日
2009-8-18
PM 03:10:50
15:10


如何把 2008-5-31 8:28:35 变成 2008-5-31

split("2008-5-31 8:28:35"," ")(0)