asp中,获取当前时间的函数是什么?
asp中,获取当前时间的函数是什么?
日期:2016-11-21 14:14:32 人气:1
asp中,获取当前时间的函数 now()
一、常用的ASP时间函数
1、now() 获取当前系统日期和时间,ASP输出格式:
2、Year(now()) 获取年份, ASP输出格式:
3、Month(now()) 获取当前月份,ASP输出格式:
4、day(now()) 获取当天数,ASP输出格式:
5、hour(now())获取小时数,ASP输出格式:
6、Minute(now()) 获取分钟数,ASP输出格式:
7、Second(now()) 获取秒钟数,ASP输出格式