Asp常用通用函数之生成时间的整数
来源:互联网 发布:淘宝小叶紫檀树苗真假 编辑:程序博客网 时间:2024/05/17 06:39
'函数名:GetMyTimeNumber()
'作 用:生成时间的整数
'参 数:lx ---- 时间整数的类型
' lx=0 到分钟 lx=1 到小时 lx=2 到天 lx=3 到月
'返回值:生成时间的整数值(最小到分钟)
'示 例:
'**************************************************
Public Function GetMyTimeNumber(lx)
If lx=0 Then GetMyTimeNumber=Year(Date)*12*30*24*60+Month(Date)*30*24*60+Day(Date)*24*60+Hour(Time)*60+Minute(Time)
If lx=1 Then GetMyTimeNumber=Year(Date)*12*30*24+Month(Date)*30*24+Day(Date)*24+Hour(Time)
If lx=2 Then GetMyTimeNumber=Year(Date)*12*30+Month(Date)*30+Day(Date)
If lx=3 Then GetMyTimeNumber=Year(Date)*12+Month(Date)
End Function
- Asp常用通用函数之生成时间的整数
- Asp常用通用函数之生成时间的整数
- Asp常用通用函数之Cookie防乱码
- 几个ASP通用的函数
- asp.net生成缩略图通用函数(支持多种生成方式)
- js常用的通用函数
- ASP的时间函数
- GetTimeNumber()当前时间生成的整数
- asp.net生成高质量缩略图通用函数(c#代码)
- ASP.NET生成高质量缩略图通用函数(c#代码)
- ASP.NET生成高质量缩略图通用函数(c#代码)
- ASP.NET生成高质量缩略图通用函数(c#代码)
- ASP.NET生成高质量缩略图通用函数(c#代码)
- ASP.NET生成高质量缩略图通用函数(c#代码)
- ASP.NET生成高质量缩略图通用函数(c#代码)
- ASP.NET生成高质量缩略图通用函数(c#代码)
- ASP.NET生成高质量缩略图通用函数(c#代码)
- asp.net生成缩略图通用函数,支持图片裁减
- 字符编码ASCII、Unicode、UTF-8、iso8859-1、GBK、GB2312
- 体绘制(Volume Rendering)概述之2:体数据详解
- php调用存储过程返回结果集,解决can't return a result set in the given context错误的方法
- wget参数及用法
- MFC注册表操作详解
- Asp常用通用函数之生成时间的整数
- ubuntu eclipse svn 1.6.x 安装
- Oracle 10g数据类型
- JS常用代码片段截取(四)
- ASP.NET MVC:如何实现一个自己的ModelBinder?
- ubuntu txt 文件中文乱码问题
- 互联网站点服务加速的14条军规
- 生活在职场
- 使用wcscpy_s第二个参数