On 1/23/07, Deo, Terry <Terry.Deo@xxxxxxxxxxxx> wrote: > 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. the GNU version of the date command will do that easily. I can send it to you for Solaris if you want. _______________________________________________________________________ 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