/// <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)); }
/// <summary> /// 按时间格式:FORMAT_NORMAL:yyyy-MM-dd HH:mm:ss显示 /// </summary> /// <returns></returns> public static string Now() { return(UtilDateTime.GetDateTimeValue(DateTime.Now, UtilDateTime.FORMAT_NORMAL)); }
/// <summary> /// 按时间格式:FORMAT_YYYYMMDDHHMMSS显示 /// </summary> /// <returns></returns> public static string NowS() { return(UtilDateTime.GetDateTimeValue(DateTime.Now, UtilDateTime.FORMAT_YYYYMMDDHHMMSS)); }