[Chicago-talk] Calculate Date on SunOS
Ted Zlatanov
tzz at lifelogs.com
Wed Jan 14 19:43:58 PST 2009
On Wed, 14 Jan 2009 19:30:21 -0800 (PST) tiger peng <tigerpeng2001 at yahoo.com> wrote:
tp> Is there any easy way to calculate the date on SouOS 5.10? It's date
tp> command does not take date string. There is only core Perl
tp> installed on the box so I cannot use Data::Calc.
You can compile or download the GNU coreutils, which include a better
version of `date'.
If you can be more precise about what you're calculating, you'll get
better answers. If all you're doing is strftime(), look in the standard
Perl POSIX module, it has a strftime() that behaves almost exactly like
the C version.
Ted
More information about the Chicago-talk
mailing list