KB-42297: Annual Preset.

Question:

How can I reset the value of an InternalTag annually on January 1st?

Solution:

To do so, follow these procedures:

1. Add a TimerTag with the following configuration:
a. TriggerType = 3-ttMonthly
b. StartTime = 01/01/2011 00:00:01

2. The, select the TimerTag and insert the following script on Preset event:
    If Month(now) = 1 Then
    ‘Logic for when the date comes
    End If

For further information, please refer to the sample application.

Attachments:

ExTimerZerar

Este artigo foi útil? Was this post helpful?
Yes0
No0

Deixe seu Comentário

Seu endereço de e-mail não será publicado. Campos marcados com asterisco são obrigatórios *