This is my first journey into the realm of Unix scripting and I'm not sure how to go about this. Ill be querying a DB and pulling out a timestamp. What I need to do is take that timestamp (in the awesome format of
YYYYMMDDHHMMSS) and if its more than 10 minutes old, return a 1 else return 0.
Again, I have essentially 0 experience with this type of scripting (background is in C++ and C#) so if you guys don't mind a little more explanation I'd be grateful – I want to learn how it works too.