Hi,
The dateTime() is tied to the system clock of the server which execute the robot. Hence a server running in the US and a server running in Germany would at the same point in time return different timestamps when the dateTime() is called.
Currently all OpenKapow servers are located within the same physical location, and the system clocks should (to my information) be synchronized, but this might very well change in the future.
To help you along, I have created a small REST service which return the current GMT time:
http://service.openkapow.com/demo/curretngmttime.rest
This will always return the GMT time, regardless of where it is called from, and where it is executed. Of cause you can update the returned timestamp to match your local timezone, or you can use this service as a basis for your own implementation.
Kind regards,
Kenneth Andersen
Kapow Support Team
The question is not:
"Is it possible for a robot to ..." but rather:
"How do I setup a robot to ..."