易截截图软件、单文件、免安装、纯绿色、仅160KB

求asp实现这种时间格式

Tue, 06 Oct 2009 17:04:16 +0000
 
如题。仅asp呵呵
HTML code:

<script language=javascript runat="server">
var d=new Date("2009/10/6");
Response.Write(d);
</script>





+0000是不是时区的代码啊
如果你想显示访客的时区信息可以用JavaScript获取后再传到后台 服务器端的时区 asp自己无法获取(我的所学和资料)只能你自己输入了 字符串 “+0000”

Tue, 06 Oct 2009 17:04:16 的格式下面的代码可能对你有用
VBScript code:

'***********************************************
'函数名:FormatEnTime
'作 用:格式化时间为英文日期
'参 数:theTime ----时间
'***********************************************
function FormatEnTime(theTime)
dim myArray1,myArray2,years,months,days
FormatEnTime=""
myArray1=split(theTime," ")
theTime=myArray1(0)
myArray2=split(theTime,"-")
years=myArray2(0)
months=myArray2(1)
days=myArray2(2)
select case months
case "1"
months="January"
case "2"
months="February"
case "3"
months="March"
case "4"
months="April"
case "5"
months="May"
case "6"
months="June"
case "7"
month


相关问答:

Active Server Pages 错误 'ASP 0113'

  Active  Server  Pages  错误  'ASP  0113'   
   
  脚本超时   
   
  /admin/affiche_zx/i ......

asp:checkbox

我要为 服务器端控件  asp:checkbox  注册客户端属性 value  怎么做啊
value属性无法注册,建议lz换个属性,反正属性名字也就是个代号而已如:
CheckBox1.Attributes.Add("value1", ......

求一个sql 语句(asp)

id lbname topid ceng
1 产品1 0 1
16 产品2 0 1
17 产品3 0 1
18 产品4 0 1
19 产品5 0 1
20 产品6 0 1
21 产品7 0 1
22 产品8 0 1
23 产品9 0 1
24 产品10 0 1
25 产品11 0 1
......

asp传值问题


"title"这个值保存不了?请问高手错误原因


<%set rs=server.createobject("adodb.recordset")
  rs.open "select * from question",conn,1,3
  if ......

asp 简单的问题

--------------------------------
id    id2
1      1
2      0
3      0
---------------------------------

id 为自动编号 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号