in reply to storing date into variable
That's because $todayDate is empty, system doesn't capture the output of the command.
But a better way to get the current is the built-in function localtime.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: storing date into variable
by ack (Deacon) on Nov 11, 2009 at 16:14 UTC | |
by moritz (Cardinal) on Nov 11, 2009 at 16:42 UTC |