Solved

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

Posted on 2013-06-13
3
495 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
detecting  the added row index in a datagridview 3 60
Please explain "Multi-Tenant Services" 5 63
Problem to error 4 45
Close form "before" open 3 25
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now