For quick & dirty scripts, the following will suffice:
Update: D'oh! I forgot to specify the command with an absolute path. Mea culpa.print `/usr/bin/date`;
In reply to Re: Printing current date and time
by virtualsue
in thread Printing current date and time
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |