After reading the man pages for date I could find a way to get yesterday’s date. Well after some handy ole google-ing I stumbled upon this.
This is just in case you wanted to know…A script to find yesterday’s date in Solaris with a little perl tidbit.
perl -e ‘@T=localtime(time-86400);printf(“%02d-%02d-%02d”,$T[5]+1900,$T[4]+1,$T[3])’
Will print out YYYY-DD-MM
Mainly I’m blogging this so [...]
Archive for the ‘Uncategorized’ Category
A Nerdy Tip of the Day
Posted: 22nd September 2008 by wickdawg in UncategorizedTags: date, perl, solaris
0
Yeah, Logan took a camera…the bassist for the opening band The State of Shock was a chick…so of course we took pictures with her…I only grabbed the one with me in it. Yeah. I have a video that he took as well, I’ll see about uploading it to YouTube.
Next up on the concert [...]