Click here to Skip to main content
15,879,474 members
Home / Discussions / C#
   

C#

 
GeneralRe: Who can help on this C# Proj??? Urgent PinPopular
PIEBALDconsult30-Jul-10 18:47
mvePIEBALDconsult30-Jul-10 18:47 
AnswerRe: Who can help on this C# Proj??? Urgent PinPopular
Chuck O'Toole30-Jul-10 18:46
Chuck O'Toole30-Jul-10 18:46 
AnswerRe: Who can help on this C# Proj??? Urgent Pin
Yusuf30-Jul-10 19:05
Yusuf30-Jul-10 19:05 
AnswerRe: Who can help on this C# Proj??? Urgent Pin
Abhinav S30-Jul-10 23:43
Abhinav S30-Jul-10 23:43 
AnswerRe: Who can help on this C# Proj??? Urgent Pin
Searril3-Aug-10 3:29
Searril3-Aug-10 3:29 
GeneralRe: Who can help on this C# Proj??? Urgent Pin
Gerry Schmitz3-Aug-10 20:16
mveGerry Schmitz3-Aug-10 20:16 
QuestionChart Controls in C# Pin
annmarypaul30-Jul-10 17:30
annmarypaul30-Jul-10 17:30 
Questionc# datetime timezone issues Pin
LimitedAtonement30-Jul-10 11:38
LimitedAtonement30-Jul-10 11:38 
Dear Sirs,

I've looked and looked and can't seem to come up with the perfect solution. So, since CodeProject is perfect, this will cure my problem.
I'm getting System.String datetimes from a server (Microsoft CRM if you care). They're in SQL format ("2010-07-23T17:14:40-04:00"). I want to read that in as a .net System.DateTime type with the timezone information preserved, then convert it to local time. This process happens in various timezones, and I'm having trouble staying in synch. Basically, I get lots of CRM records from CRM server (which seems to stamp all the timezones with this Brazilian time (-4)), and I want to write down in my config file the latest one I saw (so I don't go back and pick up values that I already have). I would like to write it down in local time, though. Here's a distillation
I want to take the string "2010-07-23T17:14:40-04:00" and, run some code
System.Datetime Get_Local_DT(string val);
that will return "2010-07-23 15:14:40" in Central time (-6) and "2010-07-23 16:14:40" in Eastern Time (-5). Let me know what you think.
In Christ,
Aaron Laws

http://ProCure.com

AnswerRe: c# datetime timezone issues Pin
PIEBALDconsult30-Jul-10 18:39
mvePIEBALDconsult30-Jul-10 18:39 
Questioniframe in MasterPage Pin
brunoseixas30-Jul-10 9:07
brunoseixas30-Jul-10 9:07 
AnswerRe: iframe in MasterPage Pin
Dave Kreskowiak30-Jul-10 9:47
mveDave Kreskowiak30-Jul-10 9:47 
AnswerRe: iframe in MasterPage Pin
Xmen Real 31-Jul-10 6:34
professional Xmen Real 31-Jul-10 6:34 
Question[MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
crosslink0630-Jul-10 5:07
crosslink0630-Jul-10 5:07 
AnswerRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
Luc Pattyn30-Jul-10 5:53
sitebuilderLuc Pattyn30-Jul-10 5:53 
AnswerRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
Not Active30-Jul-10 7:33
mentorNot Active30-Jul-10 7:33 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
crosslink0630-Jul-10 23:50
crosslink0630-Jul-10 23:50 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
crosslink0631-Jul-10 4:36
crosslink0631-Jul-10 4:36 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
Not Active31-Jul-10 13:44
mentorNot Active31-Jul-10 13:44 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... [modified] Pin
crosslink061-Aug-10 2:08
crosslink061-Aug-10 2:08 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
Not Active1-Aug-10 5:59
mentorNot Active1-Aug-10 5:59 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... [modified] Pin
crosslink061-Aug-10 12:39
crosslink061-Aug-10 12:39 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
Not Active1-Aug-10 16:35
mentorNot Active1-Aug-10 16:35 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... [modified] Pin
crosslink062-Aug-10 23:45
crosslink062-Aug-10 23:45 
GeneralRe: [MOSS 2007 C# WebPart] Timer/UpdatePanel, help please... Pin
crosslink065-Aug-10 7:47
crosslink065-Aug-10 7:47 
QuestionSQL Query On DataTable Pin
cdpace30-Jul-10 4:07
cdpace30-Jul-10 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.