我准备将当前日期及时间转变成整数
.....
currenttime = DateTime.Now;
int a=Convert.ToInt32(currenttime);
.....
编译没有问题,运行后出现异常:datatime到int32强制转换无效,请问如何解决