from datetime import datetime


def decode_datetime(data, unpackb):
    """Decode MessagePack data into a Python 'datetime' object."""
    seconds, microseconds = unpackb(data)
    return datetime.utcfromtimestamp(seconds).replace(microsecond=microseconds)