Create a TigerGraph distributed query to generate and print the current time in UTC.
> CREATE GRAPH graph_name() > CREATE DISTRIBUTED QUERY time_utc(/* Parameters here */) FOR GRAPH graph_name { DATETIME start_overall_time; start_overall_time = NOW(); print start_overall_time; } > INSTALL QUERY time_utc > RUN QUERY time_utc()
This should print the current UTC time in the console.
***
No comments:
Post a Comment