How can I convert a DateTimeOffset.Now into a twitter-compatible date/time?
Twitter example:
<created_at>Tue Apr 07 22:52:51 +0000 2009</created_at>
cheers 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This nearly does it:
… but it ends up with a colon in the time zone bit. I’m looking at removing that now.
EDIT: Blech. The best I can do at the moment is this:
That’s incredibly ugly. Mind you, this is a really ugly date and time format. Does Twitter really not have a more sensible format you can use?