Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting date and time 24 hrs ago

Status
Not open for further replies.

jdespres

MIS
Aug 4, 1999
230
US
I would like to set up two variables:

#!/bin/sh

DATE1="current date and time"

DATE2="Date and time 24 hrs in the past"

format should be "mm/dd/yy hh:mm"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top