in reply to Re^2: Date::Manip UnixDate, Hours minutes and seconds are not returned correctly
in thread Date::Manip UnixDate, Hours minutes and seconds are not returned correctly

So different behaviours returned for linux and Mac.

Just a guess. Different versions of D::M?

perl -MDate::Manip -E"say $Date::Manip::VERSION" 6.25 perl -MDate::Manip=UnixDate -E"say UnixDate('today','%Y-%m-%d-%H-%M-%S +')" 2011-09-30-00-00-00 perl -MDate::Manip=UnixDate -E"say UnixDate('now','%Y-%m-%d-%H-%M-%S') +" 2011-09-30-02-50-27

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: Date::Manip UnixDate, Hours minutes and seconds are not returned correctly
  • Download Code

Replies are listed 'Best First'.
Re^4: Date::Manip UnixDate, Hours minutes and seconds are not returned correctly
by Anonymous Monk on Sep 30, 2011 at 02:03 UTC

    I am using 5.54, not sure with my friend, will ask him and will let you know.