示例#1
0
        /// <summary>
        /// 格式化日期类型
        /// </summary>
        /// <param name="formatstr"></param>
        /// <param name="obj"></param>
        /// <returns></returns>
        public static String FormatDate(String formatstr, object obj)
        {
            DateTime obj1 = Normal.ParseDateTime(obj);

            return(FormatDate(formatstr, obj1));
        }