setCustomAttributeToSecondsFromEpoch

Sets a date custom user attribute by converting the given epoch seconds to a java.util.Date and delegating to setCustomAttribute. Inherits all key and value validation from that method.

Return

true if the provided data passed validation and was accepted for processing, or false if the key is blocklisted or the date could not be formatted.

Parameters

key

The identifier of the custom attribute. Must not be blocklisted. See CustomAttributeValidationUtils.isValidCustomAttributeKey.

secondsFromEpoch

The number of seconds elapsed since the Unix epoch.