Zvone wrote: > function TimeZoneBias : String; > in OverbyteIcsSmtpProt.pas > > if timezone could not be calculated (TIME_ZONE_ID_INVALID) or if it is > GMT (UTC) it returns -0000 as result.
I think it should return -0000 only if GetTimeZoneInformation fails (result TIME_ZONE_ID_INVALID), otherwise +0000. in OverbyteIcsSmtpProt.pas function TimeZoneBias : String; [..] //if aBias < 0 then if aBias <= 0 then Result[1] := '+'; > - return -0000 - for any use by servers I cannot follow that logic, why should servers handle this diffrently? > Also a question - is there a function to return TDateTime version of > RFC-formatted date in Mimeparser? No, I do not think so. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be