Example #1
0
 public static int Difference(string StartTimezone, string EndTimezone)
 {
     return(Timezone.GMT(StartTimezone) - Timezone.GMT(EndTimezone));
 }
Example #2
0
 public static DateTime Convert(DateTime StartDate, string StartTimezone, string EndTimezone)
 {
     return(StartDate.AddHours(Timezone.Difference(StartTimezone, EndTimezone)));
 }