date of 7 days ago

Kevin plug-discuss at firstpacket.com
Fri Dec 30 13:41:29 MST 2005


On 12/30/05 1:37 PM, "Jeremy C. Reed" <reed at reedmedia.net> wrote:
> On the BSDs, use something like:
> 
> date -r $(expr $(date +%s) - 604800)

There ya go.  Thanks.

jet:~ kevin$ date
Fri Dec 30 13:40:08 MST 2005

jet:~ kevin$ date -r $(expr $(date +%s) - 604800)
Fri Dec 23 13:40:15 MST 2005

...Kevin




More information about the PLUG-discuss mailing list