Date formatting (BST and GMT)
I'm using the RFC1123 date format on my website so a date formats in the following format: Tue, 10 Dec 2002 22:11:29 GMT
using the following code:
Code:
String.Format("{0:r}", DateTime.Now);
The question I have is does this string take into account if the server is running on British Summer Time and therefore append BST instead of GMT. If not does anyone know of a way of doing it?
DJ
Re: Date formatting (BST and GMT)
You'll get the server's datetime, so if the server's time updates to BST you site will also.
Re: Date formatting (BST and GMT)
Yes it would have the correct time but I'm not so sure it puts BST at the end of the date or just GMT. Any experience of it?
DJ
Re: Date formatting (BST and GMT)
i would help u dude but im not the sharpest tool in the shed - lol