AnsweredAssumed Answered

Get (CurrentTimestamp), sometimes appends AM/PM, sometimes not.

Question asked by neil.simpson@me.com on Jul 20, 2017
Latest reply on Jul 20, 2017 by Benjamin Fehr

Noticed in v16 that when using the Data Viewer or a Calculation the function Get (CurrentTimestamp) or Get (CurrentHostTimestamp) returns:

 

7/20/2017 11:51:20

 

BUT..

 

When using these functions to set a variable, or when combining it with another function (e.g. Get (CurrentTimestamp) & "dog") this returns:

 

7/20/2017 11:55:33 AM

 

7/20/2017 11:55:33 AMdog - in the example with another function.

 

The issue is the inconsistency with the data returned which causes issues with Perform Find (Restore) script step.

 

Strangely if you enter Find Mode and set the fields with the variable, the AM/PM part is removed......

Outcomes