iEntry 10th Anniversary RSS Newsletter Advertising
Visit Twellow.com
Text: Decrease Font Size Increase Font Size | Print Print Article | Share: Delicious Digg StumbleUpon Post to Twitter Post to Facebook
Monday, November 20, 2006

Converting a Date to RFC822 for RSS Use

6 Comments

Thanks for sharing

Been going all day working a feed publisher, thanks for the fast forward on the date validation.

System::String ^

System::String ^ DateTime::GetRFC822Date(System::DateTime ^ dt)
{
System::String ^ timeZone = dt->ToString("zzzz");
timeZone = timeZone->Replace(":", System::String::Empty);
return dt->ToString("ddd, dd MMM yyyy HH:mm:ss ") + timeZone;
};

thanks very much

i need to this code . thanks a lot for your code and good luck

thanks a lot.....you saved

thanks a lot.....you saved my day

thanks

thanks

Thanks

This was exactly what I was looking for - thank you :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
1 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
SEARCH
Popular WPN Business Resources












Subscribe to WebProNews


Send me relevant info