示例#1
0
 /// <summary>
 /// 按时间格式:FORMAT_YYYY_MM_DD_HH_MM_SS显示
 /// </summary>
 /// <returns></returns>
 public static string Now_Underline()
 {
     return(UtilDateTime.GetDateTimeValue(DateTime.Now, UtilDateTime.FORMAT_YYYY_MM_DD_HH_MM_SS));
 }
示例#2
0
 /// <summary>
 /// 按时间格式:FORMAT_NORMAL:yyyy-MM-dd HH:mm:ss显示
 /// </summary>
 /// <returns></returns>
 public static string Now()
 {
     return(UtilDateTime.GetDateTimeValue(DateTime.Now, UtilDateTime.FORMAT_NORMAL));
 }
示例#3
0
 /// <summary>
 /// 按时间格式:FORMAT_YYYYMMDDHHMMSS显示
 /// </summary>
 /// <returns></returns>
 public static string NowS()
 {
     return(UtilDateTime.GetDateTimeValue(DateTime.Now, UtilDateTime.FORMAT_YYYYMMDDHHMMSS));
 }