Curious.
When I run the OP's code (as I noted in my response to Corion's OP response), I do get information returned from system() that gets stored into $todayDate. It's just not at all what the OP seems to think (based upon the OP's code).
Of course as I also noted in my response to Corion, it may be because I'm working in Windows. On my windows box, system() does return a result...but maybe not on Unix or Unix-like systems. I rarely work on Unix systems so I'm not that familiar with how system() works on them.
In reply to Re^2: storing date into variable
by ack
in thread storing date into variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |