Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 544
  • Last Modified:

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

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
JDL129
Asked:
JDL129
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss \"GMT\"zzz");
0
 
Minh Võ CôngCommented:
0
 
JDL129Author Commented:
Thanks sedgwick!!!  Good Job!!!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now