AnsweredAssumed Answered

Manipulate Month in UFL

Question asked by kennedy043 on Apr 3, 2018
Latest reply on Apr 10, 2018 by kennedy043

Hi Team, is there a way to manipulate the Month in UFL?


For example,

If I have an input file that contains a timestamp "01-Jan-2018", I want to subtract a month (or more as required) from the timestamp so it becomes "01-Dec-2017"?


I have tried extracting each field Day, Month, Year and doing some arithmetic operations on them but hasn't worked yet.


Any pointers will be much appreciated.