Jason Grout wrote: > Dr. David Kirkby wrote: >> If you have a system with the GNU version of date, then >> >> date -u +%s >> >> will give the seconds since the Epoch. Unfortunately, it only works with GNU >> date, and so will not work on Solaris, HP-UX or no doubt many other Unix >> systems. [...] >> >> Could a few people check it on their systems. > > > x86 64-bit Ubuntu Karmic: > > % sh unixtime.sh&& date -u +%s > 1260813444 > 1260813444 > > Looks good to me. >
Same here on Fedora 12 x86_64: $ sh unixtime.sh && date -u +%s 1260814075 1260814075 Jaap -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org