rex_parse_curTime
Introduction
Get current time from parse server. It needs upload a function on cloud code.
Get current time from parse server. It needs upload a function on cloud code.
Usage
Sample capx
Sample capx
Cloud code
Append and update these code on parse cloud.
Reference: cloud code
Append and update these code on parse cloud.
Reference: cloud code
Get current timestamp
Call "Action:Get current time" to get current timestamp from parse server.
"Condition:On get current time" will be triggered while get timestamp, otherwise "Condition:On get current time error" will be triggered.
Get timestamp result by "Expression:LastTimestamp" under "Condition:On get current time".
Call "Action:Get current time" to get current timestamp from parse server.
"Condition:On get current time" will be triggered while get timestamp, otherwise "Condition:On get current time error" will be triggered.
Get timestamp result by "Expression:LastTimestamp" under "Condition:On get current time".
Compare with rex_parse_timer
rex_parse_timer plugin also could get current server timestamp back. It needs a table to store timers, and 2 requests if not cache the timerID.
This plugin only could get current server timestamp directly, without stored any item, and cost 1 request.
rex_parse_timer plugin also could get current server timestamp back. It needs a table to store timers, and 2 requests if not cache the timerID.
This plugin only could get current server timestamp directly, without stored any item, and cost 1 request.