All date/time tracked by BAM must be expressed in UTC. BAM depends on this to provide accurate durations, among many other things. This is clearly explained here. It was also the case for BizTalk 2004 even if the documentation gave subtle hints instead of describing it:
es.UpdateActivity(“PurchaseOrder”, poid, “POShipped”, DateTime.UtcNow);
This rule is unfortunately easy to forget. For instance, let’s assume you have a message with a date/time field you want to track with BAM. You start…(read more)