TimeStampBias Property
Gets the time offset in hours.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
public int Bias { get; }

Property Value

Type: Int32
An integer number representing the timezone offset in hours.

For instance, for Sat, 25 Dec 2004 09:59:47 -0500 date, the time offset is -0500 and this property will return -5 value.

If the timezone contains not only hours but minutes as well (such as -0530), this property will still return -5. You can get the original timezone value from DateAsString property if you need to precisely handle timezone offset values. Anyway, Date property will always return the correct date (if the DateAsString itself if correct).

The example is available in TimeStamp topic.
See Also