commit | 6236d3abe4fe7e698f0fd26d6cf51f0d4c6d872a | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jul 25 14:28:25 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 25 15:00:37 2013 +0200 |
tree | 528a6c52e7641ca4ccdbdf7d4cb808b608b6c56c | |
parent | 5b8ad22228d95adf8aaf3bdb79fa07f447adff1b [diff] |
MINOR: sample: add a new "date" fetch to return the current date Returns the current date as the epoch (number of seconds since 01/01/1970). If an offset value is specified, then it is a number of seconds that is added to the current date before returning the value. This is particularly useful to compute relative dates, as both positive and negative offsets are allowed.