Using the "HTTP Request" Build action, it is possible to call a remote API and get the current date time. The result will be displayed in the generation log and could be useful for future reference:
Action property |
Value |
Description |
URL to request |
http://worldtimeapi.org/api/timezone/Europe/Paris.txt |
Use the WorldTimeAPI public web service to request the current local time for a given timezone as text |
Request method |
GET |
Perform a GET HTTP request |