How to get server date and time into a datetime variable.

Issue

How to get server date and time into a datetime variable.

Product Line

SmartStruxure Solution

Environment

Automation Server - AS

Enterprise Server - ES

Cause

Documentation

Resolution

  1. Create a 'Value' object of type 'Time Stamp Value' in the server.
  2. Right click on the server's name and select 'Edit bindings'
  3. Find the time stamp value created in step 1 in the object tree on the right.
  4. Bind the value of the time stamp object to the server's time as seen in the screen shot below.