date_offset - display the date and time, with an offset

Fetch the software.

date_offset displays the date and time just like the standard date command, except with a specified offset from the current time.

For example, to generate an HTTP Expires header fifteen minutes in the future, you'd say:

date_offset -u -f "Expires: %a, %d %b %Y %H:%M:%S %Z" +15m

See the manual entry for more details.


Back to ACME Labs Software.
Back to ACME Labs.