Click here to Skip to main content
15,909,747 members
Home / Discussions / C#
   

C#

 
AnswerRe: Help to me to find simple method for days of month Pin
DaveyM698-Apr-09 20:37
professionalDaveyM698-Apr-09 20:37 
GeneralRe: Help to me to find simple method for days of month Pin
M Riaz Bashir8-Apr-09 20:39
M Riaz Bashir8-Apr-09 20:39 
QuestionOracle.DataAccess.Client - DbProviderFactories.GetFactory [modified] Pin
devvvy8-Apr-09 20:25
devvvy8-Apr-09 20:25 
AnswerRe: Oracle.DataAccess.Client - DbProviderFactories.GetFactory Pin
devvvy9-Apr-09 16:00
devvvy9-Apr-09 16:00 
Questionproblem with SetSystemTime() fucntion of Kernel32.dll Pin
cppwxwidgetsss8-Apr-09 19:34
cppwxwidgetsss8-Apr-09 19:34 
AnswerRe: problem with SetSystemTime() fucntion of Kernel32.dll Pin
dojohansen9-Apr-09 1:45
dojohansen9-Apr-09 1:45 
GeneralRe: problem with SetSystemTime() fucntion of Kernel32.dll Pin
dojohansen9-Apr-09 1:50
dojohansen9-Apr-09 1:50 
GeneralRe: problem with SetSystemTime() fucntion of Kernel32.dll Pin
Sujeevan Kumar22-Jun-09 5:08
Sujeevan Kumar22-Jun-09 5:08 
I see nothing wrong in what you are doing. Its just that, when you use SetSystemTime(), the time set is UTC - not your local time. So, in order to set your local time, then you need to calculate the difference between your local timezone and UTC (use Offset class to calculate the difference like
Offset diff = DataTime.Now - DateTime.UtcNow). Once you know the time difference, update the hours and minutes by the Offset.Hours, Offset.Minutes and you will get the correct local time set. Hope that helps!!
QuestionShowing Hidden Files... Pin
Rajdeep.NET is BACK8-Apr-09 19:28
Rajdeep.NET is BACK8-Apr-09 19:28 
AnswerRe: Showing Hidden Files... Pin
Anubhava Dimri8-Apr-09 20:28
Anubhava Dimri8-Apr-09 20:28 
AnswerRe: Showing Hidden Files... Pin
N a v a n e e t h8-Apr-09 20:30
N a v a n e e t h8-Apr-09 20:30 
QuestionList View Sorting Pin
satsumatable8-Apr-09 19:01
satsumatable8-Apr-09 19:01 
AnswerRe: List View Sorting Pin
Anubhava Dimri8-Apr-09 20:54
Anubhava Dimri8-Apr-09 20:54 
QuestionConversion of Structure to Byte Array Pin
lnmca8-Apr-09 19:01
lnmca8-Apr-09 19:01 
AnswerRe: Conversion of Structure to Byte Array Pin
satsumatable8-Apr-09 19:04
satsumatable8-Apr-09 19:04 
GeneralRe: Conversion of Structure to Byte Array Pin
lnmca8-Apr-09 22:57
lnmca8-Apr-09 22:57 
QuestionListening port Pin
yesu prakash8-Apr-09 18:43
yesu prakash8-Apr-09 18:43 
AnswerRe: Listening port Pin
satsumatable8-Apr-09 19:17
satsumatable8-Apr-09 19:17 
QuestionOracle 10g Express - support .NET TransactionScope? Pin
devvvy8-Apr-09 17:48
devvvy8-Apr-09 17:48 
Questionhow to got the programming is compiled by x64 or x86 Pin
Dracula Wang8-Apr-09 17:20
Dracula Wang8-Apr-09 17:20 
AnswerRe: how to got the programming is compiled by x64 or x86 Pin
devvvy8-Apr-09 17:51
devvvy8-Apr-09 17:51 
GeneralRe: how to got the programming is compiled by x64 or x86 Pin
Dracula Wang8-Apr-09 19:44
Dracula Wang8-Apr-09 19:44 
AnswerRe: how to got the programming is compiled by x64 or x86 Pin
Anubhava Dimri8-Apr-09 18:58
Anubhava Dimri8-Apr-09 18:58 
GeneralRe: how to got the programming is compiled by x64 or x86 Pin
Dracula Wang8-Apr-09 19:43
Dracula Wang8-Apr-09 19:43 
QuestionWhat Happens If I Don't Close A Text File Pin
BlitzPackage8-Apr-09 16:26
BlitzPackage8-Apr-09 16:26 

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.