Open topic with navigation

TIBCO Rendezvous® 8.8.0

# Update DateTime

Convenience Method

## Declaration

    TibrvStatus updateDateTime(
        const char*             fieldName,
        const TibrvMsgDateTime&    value,
        tibrv_u16               fieldId=0);

## Purpose

Update a field containing a datetime value.

## Remarks

This convenience method locates a field (by name or identifier) and updates its data.

The type of the existing field (within the message) and the type of the updating `value` must match.

Parameter | Description
`fieldName` | Update a field with this name.
`value` | Update the message field to this value. The method copies the new value into the existing field.
`fieldId` | Update the field with this identifier. Zero is a special value that signifies no field identifier. It is illegal to add a field that has both a `NULL` field name, and a non-zero field identifier.

## See Also

Field Names and Field Identifiers

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Rendezvous®

Copyright © 1997-2025. Cloud Software Group, Inc. All Rights Reserved.