|
-
Sep 12th, 2005, 05:26 AM
#1
Thread Starter
Frenzied Member
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
If I have been helpful please rate my post. If I haven't tell me!
-
Sep 12th, 2005, 09:35 AM
#2
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.
TPM
Add yourself to the VBForums Frappr Map!!
-
Sep 12th, 2005, 09:53 AM
#3
Thread Starter
Frenzied Member
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
If I have been helpful please rate my post. If I haven't tell me!
-
Sep 12th, 2005, 09:57 AM
#4
Fanatic Member
Re: Date formatting (BST and GMT)
i would help u dude but im not the sharpest tool in the shed - lol
it works 60% of the time, all the time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|