I want to get the output from the following command into an variable:

system("date +%Y%m%d-%H%M%S");

I have tried:
$output = system("date +%Y%m%d-%H%M%S");
But that does not work (only get 0 in that variable).

Please help!

Alexander



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to