原创  格式化时间 收藏

<script language=vbs>
Function fmt(str)
  dim regEx
  Set regEx = New RegExp
  regEx.Pattern = "(?:\b)(\d)(?:\b)"
  regEx.Global = True
  fmt = regEx.replace(str,"0$1")
End Function
msgbox (now)
msgbox (fmt(now))
</script>

发表于 @ 2005年10月12日 08:56:00 | 评论( loading... ) | 编辑| 举报| 收藏

旧一篇:oracle sql  | 新一篇:css

  • 发表评论
  • 评论内容:
  •  
Copyright © ghostzp
Powered by CSDN Blog