Line 41: }
Line 42:
Line 43: pageCopy = pageCopy.Replace("[ENTRY-START]", TimeZoneInfo.ConvertTime(thisContest.startDateTimeEntry, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById(thisContest.timezone)).ToString("T") + " (" + thisContest.timezone.Replace("Standard", "").Replace("Arabian Time", "Gulf Standard Time") + ") on " + TimeZoneInfo.ConvertTime(thisContest.startDateTimeEntry, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById(thisContest.timezone)).ToString(strDateFormat));
Line 44: pageCopy = pageCopy.Replace("[ENTRY-END]", TimeZoneInfo.ConvertTime(thisContest.EndDateTimeEntry, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById(thisContest.timezone)).ToString("T") + " (" + thisContest.timezone.Replace("Standard", "").Replace("Arabian Time", "Gulf Standard Time") + ") on " + TimeZoneInfo.ConvertTime(thisContest.EndDateTimeEntry, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById(thisContest.timezone)).ToString(strDateFormat));
Line 45: pageCopy = pageCopy.Replace("[VOTING-START]", TimeZoneInfo.ConvertTime(thisContest.startDateTime, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById(thisContest.timezone)).ToString("T") + " (" + thisContest.timezone.Replace("Standard", "").Replace("Arabian Time", "Gulf Standard Time") + ") on " + TimeZoneInfo.ConvertTime(thisContest.startDateTime, TimeZoneInfo.Local, TimeZoneInfo.FindSystemTimeZoneById(thisContest.timezone)).ToString(strDateFormat));
|