Solved

How do I do a C# date time format including time zone

Posted on 2013-06-13
3
498 Views
Last Modified: 2013-06-13
Hey Guys!!

I need to enter the current date and time along with the time zone in a C# program.

Any ideas?

Thanks,

Jerry
0
Comment
Question by:JDL129
3 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 150 total points
ID: 39243950
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss \"GMT\"zzz");
0
 
LVL 15

Expert Comment

by:Minh Võ Công
ID: 39243990
0
 

Author Closing Comment

by:JDL129
ID: 39244155
Thanks sedgwick!!!  Good Job!!!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What .NET URL re-routing tool did I use? 2 56
Keyboard 2 33
SSRS subreport with parameter 3 32
Programmatically storing deadlock graphs with SQL Server 6 41
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question