Antwort: [hobbit] Antwort: [hobbit] RE: Antwort: [hobbit] RE: V0.2.0 of adminscripts
stefan.freisler at aspect-online.de
stefan.freisler at aspect-online.de
Tue Jan 9 16:15:11 CET 2007
Hi,
its is not difficult to create an timestamp but to create an timestamp
like date it does is difficult:
perl -e 'use Date::Manip qw(ParseDate
UnixDate);$date=&ParseDate("2007/01/08 15:45");print(UnixDate( $date ,
"%s" ));'
is one thing i have found but my solaris 9 don't Support it.
Does anyone know an other solution to transform
2007/01/08 15:45
to
1168267500
Can someone test my solution on Solaris 10 or other Unixes?
thx
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070109/1bd5e5e8/attachment.html>
More information about the Xymon
mailing list