SetAbsolutStartDate

Parent Previous Next

SetAbsolutStartDate

This function sets the Absolute Start Date of the Alarm Object. This function has two ways to be used:


Function Definition:


void SetAbsolutStartDate(DateTime date);


.     DateTime date: A DateTime parameter that Represents the date that will be the start date.



            void SetAbsolutStartDate(string date);


.     String date: A string parameter that Represents the date that will be the start date.



To configure this property, follow the steps below:


1.   In an object event, configure the SetAbsolutStartDate function: AlarmObjectName.SetAbsolutStartDate(date);


2.   During the execution of RunTime, run the configured event.



Example with SetAbsolutStartDate(DateTime date):


In the graphic document, the user has one Alarm object (named as Alarm1). In a Button object (named as Button1) the user configures the MouseUp event with the following event:


Alarm1.SetAbsolutStartDate(@dateTag);


In this event, the Absolute Start Date will be set.



 

Note: This property exists only to the following objects:

.    Alarm