<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:12pt"><div>Actually, I only want something as simple as GNU's date command:<br>&nbsp;<br>-&gt; date --date=yesterday +%Y%m%d<br>20090113<br>-&gt; date --date="next week" +%Y%m%d<br>20090121<br><br></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Andrew Rodland &lt;arodland@comcast.net&gt;<br><b><span style="font-weight: bold;">To:</span></b> Chicago.pm chatter &lt;chicago-talk@pm.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 14, 2009 9:36:06 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Chicago-talk] Calculate Date on
 SunOS<br></font><br>
On Wednesday 14 January 2009 09:30:21 pm tiger peng wrote:<br>&gt; Is there any easy way to calculate the date on SouOS 5.10? It's date<br>&gt; command does not take date string.<br>&gt;<br>&gt; There is only core Perl installed on the box so I cannot use Data::Calc.<br>&gt;<br>&gt; Thanks in advance,<br><br>1) You can do plenty of date calculation with core perl if you can work <br>localtime and you're handy with arithmetic (and a little bit of modular <br>arithmetic)<br><br>2) If you have a working C compiler you can install Date::Calc in your home <br>directory. If you don't, I bet you can find some pure-perl module that does <br>what you need.<br><br>Andrew<br><br>_______________________________________________<br>Chicago-talk mailing list<br><a ymailto="mailto:Chicago-talk@pm.org" href="mailto:Chicago-talk@pm.org">Chicago-talk@pm.org</a><br><a href="http://mail.pm.org/mailman/listinfo/chicago-talk"
 target="_blank">http://mail.pm.org/mailman/listinfo/chicago-talk</a><br></div></div></div></body></html>