Пример #1
0
 /// <summary>
 /// 转换为日期
 /// </summary>
 /// <param name="obj">数据</param>
 public static DateTime ToDate(this object obj)
 {
     return(Conv.ToDate(obj));
 }
Пример #2
0
 /// <summary>
 /// 转换为日期
 /// </summary>
 /// <param name="obj">数据</param>
 public static DateTime ToDate(this string obj)
 {
     return(Conv.ToDate(obj));
 }
Пример #3
0
 /// <summary>
 /// 转换为日期
 /// </summary>
 /// <param name="data">数据</param>
 public static DateTime ToDate(this string data)
 {
     return(Conv.ToDate(data));
 }