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
JDL129Asked:
Who is Participating?
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.