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



URL to request

Use the WorldTimeAPI public web service to request the current local time for a given timezone as text

Request method


Perform a GET HTTP request