Add timestamp macro