Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TimeUtil.cs « System.Web.Util « System.Web « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8f8ca72b2d08df1027ec269695d462566359bcf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// System.Web.Util.TimeUtil
//
// Author(s):
//  Jackson Harper (jackson@ximian.com)
//
// (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";
		}
	}
}