예제 #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));
 }