[foxboro] Date/Time Arithmetic

  • From: "Deo, Terry" <Terry.Deo@xxxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Tue, 23 Jan 2007 18:22:08 -0500

Hi List,

Does anyone know of an easy way to do date/time arithmetic in a shell
script?  Specifically, what I need to do is get the current date and
time and then adjust it for an offset which can be either positive (add
nn minutes to the current date/time) or negative (subtract nn minutes
from the current date/time).  

Any info would be greatly appreciated.

Regards,
Terry

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts:

  • » [foxboro] Date/Time Arithmetic