In case you were looking for how to format a RFC 822 compliant date/time string in Visual Basic .net or Visual C# .net, here it is:
DateTime.Now.ToString("r") >>> Thu, 10 Apr 2008 13:30:00 GMT
More information on the “r” format can be found at:
http://msdn.microsoft.com/en-us/library/az4se3k1.aspx#RFC1123