Hi All,

Please share your suggestions & feedbacks.

I'm trying to reduce a 15mins from a PI PE expression result.

PI PE Expression is **FindGE('Tag1','*','*-3d',0)**, say example its resulting as **22-Feb-2015 18:45:00** and I'm looking for a expression to reduce the result to **22-Feb-2015 18:30:00.**

I have tried couple of functions like, but no luck

FindGE('Tag1','*','*-3d',0) - ParseTime("00:15:00")

FindGE('Tag1','*','*-3d',0) - Minutes('00:15:00')

FindGE('Tag1','*','*-3d',0) - ('00:15:00')

Please help me, if I'm missing something

Regards,

Yasin

Hi, Yasin.

Have you tried subtracting the number of seconds as follows:

FindGE('Tag1','*','*-3d',0) -15*60

This works for me in an expression analysis in AF so I assume it works elsewhere. If you are still having issues, you can try converting the time stamp to UTC seconds, subtracting the 15*60 seconds and then converting back to a timestamp. Please let us know what you end up with and if you have any further questions.