Github user FSchumacher commented on a diff in the pull request:
https://github.com/apache/jmeter/pull/291#discussion_r113534765
--- Diff: xdocs/usermanual/functions.xml ---
@@ -1499,6 +1502,36 @@ becomes:
</properties>
</component>
+
+<component index="§-num;.5.22" name="__timeShifting">
+<description>
+ <p>The timeShifting function returns a date in various formats with
the specified amount of seconds/minutes/hours/days/months added</p>
+ </description>
+<properties>
+ <property name="Format" required="No">
+ The format to be passed to DateTimeFormatter.
+ If omitted, the function use milliseconds since epoch format.
+ </property>
+ <property name="Date to shift" required="No">
+ Indicate the date with the format from first paramater to shift
+ If omitted, the date is set to now
+ </property>
+ <property name="value to shift" required="No">
+ Indicate the specified amount of
seconds/minutes/hours/days/mounths to add according to this usage :
+ <ul>
+ <li><code>5s</code> for Second value</li>
+ <li><code>5m</code> for Minute value</li>
+ <li><code>5H</code> for Hour value</li>
+ <li><code>5d</code> for Day value</li>
+ <li><code>5M</code> for Month value</li>
+ </ul>
+ To shift in the pass, you just have to indicate <code>-5d</code>
to remove 5 days.
--- End diff --
"into the past"?
"to subtract five days" or "to move five days backwards"?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---