Thanks. Feel free to add to the FAQ.
FYI: I have since found (elsewhere on this site), a better way to find the last day of the previous month.
Instead of:
##
## Find last day of previous month.
##
CALDAY=`cal $PMONTH...
My impression is that the date command cannot accept input, so I am not sure how I can utilize that to convert a value given to me by a vendor program. I may be missing something.
Instead, I have managed to write a script that seems to work and I will post it here for either future reference...
I am trying to format a status command from a vendor into a more readable form. Part of the output gives the time of a last transaction in GMT, which will do our operators/programmers no help whatsoever if when the last transaction was last received. How do I convert this time into EST time...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.