using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
static class Util
{
public static string sql2date(DateTime date)
{
DateTime UTCDate = date.ToUniversalTime();
string frmDate = date.ToString("ddd, dd MMM yyyy HH:mm:ss +0000");
return frmDate;
}
public static string sql2date2(DateTime date)
{
DateTime UTCDate = date.ToUniversalTime();
string frmDate = date.ToString("yyyy-MM-dd HH:mm:ss");
return frmDate;
}
}