|
|
See a possible Y2K bug in shutdown
The UNIX date is read in seconds from 1/1/1970. The date you are using "0308210940" converts to "Monday, October 8, 1979 1:09:00 AM" according to this web page...
The Mac epoch is different
I believe the Mac epoch (time "0") --- at least traditionally --- is in 1904, whereas the Unix one is 1970.
The Mac epoch is different
The epoch used by the classic Mac OS was indeed based on a start date in 1904, but OS X's BSD roots mean that its epoch, when it comes up, is the usual 1970 one seen in Unix variants.
See a possible Y2K bug in shutdown
If you'll notice, the time it was set to shutdown was correct *except* for the year. It is not asking for UNIX time; simply a bug in shutdown.
See a possible Y2K bug in shutdown
The input is not interpreted as a number of seconds since the epoch -- see the man page excerpt quoted in the original post:
See a possible Y2K bug in shutdown
Sorry all, it looked like a unix date when I first read the post this morning (no coffee yet). I read the man shutdown page and seen that the date is in the correct format. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.10 seconds |
|