ApiData().GetBehaviorCreatedHour

Gets the given Behavior’s creation date “hour” value.

Description

This method returns the hour that the given Behavior, indicated by the id, was created. This value will be between 0 and 23, representing the 24 hours in any given day. If the hour value is less than 12, then the Behavior was created in the AM, otherwise it was created in the PM.

Example Usage (C#)


int hour = _core.ApiData().GetBehaviorCreatedHour(147);

Parameters

int

id

The integer numeric value or variable representing the unique ID of the Behavior.

Returns

The integer value (1 or 2 decimal) representing the Behavior’s hour of creation.

ApiData()