mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
25 lines
403 B
C#
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";
|
|
}
|
|
}
|
|
}
|
|
|