[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Antwort: [hobbit] Antwort: [hobbit] RE: Antwort: [hobbit] RE: V0.2.0 of adminscripts
- To: hobbit (at) hswn.dk
- Subject: Antwort: [hobbit] Antwort: [hobbit] RE: Antwort: [hobbit] RE: V0.2.0 of adminscripts
- From: stefan.freisler (at) aspect-online.de
- Date: Tue, 9 Jan 2007 16:15:11 +0100
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