setDateTimeAttribute abstract method

BatchUserDataEditor setDateTimeAttribute(
  1. String key,
  2. DateTime value
)

Set a Date attribute for a key.

Attribute's key cannot be empty. It should be made of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.

Date attribute values are sent in UTC to Batch. If you notice that the reported time may be off, try making an UTC DateTime for consistency.

Any attribute with an invalid key or value will be ignored.

Implementation

BatchUserDataEditor setDateTimeAttribute(String key, DateTime value);