Skip to main content

SetEquipmentFieldTime

Structure

SetEquipmentFieldTime(sEquipmentFieldName,dtValue)

Parameters

ParameterTypeDescription
sEquipmentFieldNameStringthe name of the equipment field
dtValueTimethe time to be saved to the above field. Time values can also be returned from other event custom rule functions like LookupEquipmentFieldTime. Keep in mind that date and time values are returned as numbers. Use TimeToStr to show the number in readable format.

Description

This procedure sets a time value for the equipment field in the parameter - as currently true for the selected asset in the event. This procedure is only applicable for time-based equipment fields.

Example

No example provided

See also

No related topics