Trigger an action at a specific Date-Time
Trigger an action automatically in your mobile application on the date of your choice. Let's take the example of a new "Happy New Year" section of your app that will unlock without any action from you on January 1st, 2021 at midnight GMT.
In your main screen, create a new state and prepare the menu that includes the new section. We will automatically trigger the display of this new status on the chosen date. To set the date, we will use a universal value, the timestamp.
Insert the web date module
Download this web module:
date.zip
Import this ZIP into PandaSuite Studio.
Insert this web module in your screen.
Create a timestamp
Click
+ Add in the
Properties window or double-click the component to access the
Edit window.
Click
+ Add Markers to select a date.
This date is set using a marker, in the form of a timestamp.
The Unix timestamp (or Unix time or POSIX time) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), excluding leap seconds (in ISO 8601: 1970-01-01T00:00:00Z).
For example: 1483228800000 can be converted to Sunday, January 1, 2017 00:00:00:00
To retrieve the timestamp value of a date, go to:
https://www.epochconverter.com/
Convert the date and specify it as the marker ID.
Trigger the action based on the timestamp
Select your web component and click on
Actions
Choose as trigger the previously defined timestamp/marker and choose the action of your choice.