关于微软认证考试辅导.docxVIP

  • 1
  • 0
  • 约1.22千字
  • 约 4页
  • 2019-08-22 发布于四川
  • 举报
2019年关于微软认证考试辅导      1、DateTime数字型 ?      System.DateTimecurrentTime=newSystem.DateTime(); ?      1.1取当前年月日时分秒 ?      currentTime=System.DateTime.Now; ?      1.2取当前年 ?      int年=currentTime.Year; ?      1.3取当前月 ?      int月=currentTime.Month; ?      1.4取当前日 ?      int日=currentTime.Day; ?      1.5取当前时 ?      int时=currentTime.Hour; ?      1.6取当前分 ?      int分=currentTime.Minute; ?      1.7取当前秒 ?      int秒=currentTime.Second; ?      1.8取当前毫秒 ?      int毫秒=currentTime.Millisecond; ?      (变量可用中文) ?      2、Int32.Parse(变量)Int32.Parse(常量) ?      字符型转换转为32位数字型3、变量

文档评论(0)

1亿VIP精品文档

相关文档