Files
mono/mcs/class/System.Web/System.Web.Util/TimeUtil.cs
T
2003-11-13 22:34:40 +00:00

25 lines
403 B
C#

//
// System.Web.Util.TimeUtil
//
// Author(s):
// Jackson Harper ([email protected])
//
// (C) 2003 Novell, Inc, (http://www.novell.com)
//
using System;
namespace System.Web.Util {
internal sealed class TimeUtil {
private TimeUtil () { }
internal static string ToUtcTimeString (DateTime dt)
{
return dt.ToUniversalTime ().ToString ("ddd, d MMM yyyy HH:mm:ss ") + "GMT";
}
}
}