Click here to Skip to main content
15,894,106 members
Home / Discussions / C#
   

C#

 
GeneralRe: Virtual Trackpad > WIndows... Pin
Gerry Schmitz10-Feb-17 19:49
mveGerry Schmitz10-Feb-17 19:49 
GeneralRe: Virtual Trackpad > WIndows... Pin
qzzf1w10-Feb-17 19:50
qzzf1w10-Feb-17 19:50 
QuestionDetermining if a time zone is currently in Daylight Saving Time Pin
TNCaver9-Feb-17 11:14
TNCaver9-Feb-17 11:14 
AnswerRe: Determining if a time zone is currently in Daylight Saving Time Pin
OriginalGriff9-Feb-17 21:33
mveOriginalGriff9-Feb-17 21:33 
GeneralRe: Determining if a time zone is currently in Daylight Saving Time Pin
Pete O'Hanlon9-Feb-17 22:52
mvePete O'Hanlon9-Feb-17 22:52 
GeneralRe: Determining if a time zone is currently in Daylight Saving Time Pin
OriginalGriff9-Feb-17 23:29
mveOriginalGriff9-Feb-17 23:29 
GeneralRe: Determining if a time zone is currently in Daylight Saving Time Pin
TNCaver10-Feb-17 9:04
TNCaver10-Feb-17 9:04 
GeneralRe: Determining if a time zone is currently in Daylight Saving Time Pin
Richard Deeming10-Feb-17 9:24
mveRichard Deeming10-Feb-17 9:24 
As Gerry pointed out below, the DateTime.IsDaylightSavingTime method[^] relies on the local time zone. It has no knowledge of the TimeZoneInfo you used to change the offset.

If your server is set to UTC with no DST changes, then this method will never return true.

Use the TimeZoneInfo.IsDaylightSavingTime method[^] instead, and the result will depend on the chosen TimeZoneInfo. Smile | :)



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


AnswerRe: Determining if a time zone is currently in Daylight Saving Time Pin
Gerry Schmitz9-Feb-17 22:22
mveGerry Schmitz9-Feb-17 22:22 
GeneralRe: Determining if a time zone is currently in Daylight Saving Time Pin
TNCaver10-Feb-17 9:26
TNCaver10-Feb-17 9:26 
AnswerRe: Determining if a time zone is currently in Daylight Saving Time Pin
Richard Deeming10-Feb-17 2:34
mveRichard Deeming10-Feb-17 2:34 
GeneralRe: Determining if a time zone is currently in Daylight Saving Time Pin
TNCaver10-Feb-17 9:24
TNCaver10-Feb-17 9:24 
QuestionAndroid Day of Week Calculator Pin
Pavlex49-Feb-17 9:14
Pavlex49-Feb-17 9:14 
AnswerRe: Android Day of Week Calculator Pin
NotPolitcallyCorrect9-Feb-17 9:47
NotPolitcallyCorrect9-Feb-17 9:47 
AnswerRe: Android Day of Week Calculator Pin
Eddy Vluggen9-Feb-17 10:50
professionalEddy Vluggen9-Feb-17 10:50 
AnswerRe: Android Day of Week Calculator Pin
Richard MacCutchan9-Feb-17 21:02
mveRichard MacCutchan9-Feb-17 21:02 
AnswerRe: Android Day of Week Calculator Pin
Gerry Schmitz10-Feb-17 12:55
mveGerry Schmitz10-Feb-17 12:55 
QuestionChange the height PopupMenu ? Pin
Member 24584678-Feb-17 17:58
Member 24584678-Feb-17 17:58 
AnswerRe: Change the height PopupMenu ? Pin
Mycroft Holmes8-Feb-17 20:15
professionalMycroft Holmes8-Feb-17 20:15 
QuestionWCF Transport Security And SSL Pin
Liagapi8-Feb-17 17:34
Liagapi8-Feb-17 17:34 
AnswerRe: WCF Transport Security And SSL Pin
Richard Deeming8-Feb-17 22:06
mveRichard Deeming8-Feb-17 22:06 
QuestionC# : In a Powerpoint slide, Unable to set Play Full Screen / Start Automatically of a Video (Shape) object Pin
svpmirashi8-Feb-17 1:51
svpmirashi8-Feb-17 1:51 
AnswerRe: C# : In a Powerpoint slide, Unable to set Play Full Screen / Start Automatically of a Video (Shape) object Pin
Gerry Schmitz9-Feb-17 7:53
mveGerry Schmitz9-Feb-17 7:53 
GeneralRe: C# : In a Powerpoint slide, Unable to set Play Full Screen / Start Automatically of a Video (Shape) object Pin
svpmirashi9-Feb-17 20:48
svpmirashi9-Feb-17 20:48 
GeneralRe: C# : In a Powerpoint slide, Unable to set Play Full Screen / Start Automatically of a Video (Shape) object Pin
Gerry Schmitz9-Feb-17 21:17
mveGerry Schmitz9-Feb-17 21:17 

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.