D
doomsday123
Will
private bool IsDST(DateTime d)
{
return System.TimeZone.IsDaylightSavingTime(d,
System.TimeZone.CurrentTimeZone.GetDaylightChanges(d.Year));
}
in .NET 1.1 return the same thing as this in .NET 2.0?
private bool IsDST(DateTime d)
{
//convert time to local and check for daylight savings
return d.ToLocalTime().IsDaylightSavingTime();
}
private bool IsDST(DateTime d)
{
return System.TimeZone.IsDaylightSavingTime(d,
System.TimeZone.CurrentTimeZone.GetDaylightChanges(d.Year));
}
in .NET 1.1 return the same thing as this in .NET 2.0?
private bool IsDST(DateTime d)
{
//convert time to local and check for daylight savings
return d.ToLocalTime().IsDaylightSavingTime();
}