【文件属性】:
文件名称:Asp.Net日期时间格式设置
文件大小:2KB
文件格式:ZIP
更新时间:2015-09-22 15:35:53
Asp.Net 日期时间格式
对于日期时间格式设置和详细,1、DateTime 数字型
System.DateTime currentTime=new System.DateTime();
1.1 取当前年月日时分秒
currentTime=System.DateTime.Now;
1.2 取当前年
int 年=currentTime.Year;
1.3 取当前月
int 月=currentTime.Month;
1.4 取当前日
int 日=currentTime.Day;
【文件预览】:
Asp.Net日期时间格式设置.txt