Am 2005-05-03 08:58:07, schrieb Steffen Hey:
Am Mon, 02 May 2005 13:28:56 +0200 schrieb Richard Mittendorfer:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es format
zu konvertieren. ich hab inzwischen ein kleines perl script, aber apt /
apropos gibt mir nichts aus.
Zu schnell abgesendet..
Am 2005-05-03 08:58:07, schrieb Steffen Hey:
Wie wär's mit:
|date
|Di Mai 3 08:54:50 CEST 2005
man date gibt einiges her.
Du kennst:
date --date=1997-05-03 14:15:16
Sam Mai 3 14:15:16 CEST 1997
Er will aber sowas wie:
date --sdate=862661716
Also sprach Michelle Konzack [EMAIL PROTECTED] (Tue, 3 May 2005 09:33:40
+0200):
Am 2005-05-03 08:58:07, schrieb Steffen Hey:
Am Mon, 02 May 2005 13:28:56 +0200 schrieb Richard Mittendorfer:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es format
zu konvertieren. ich
angenehmen montag.
gleich zur (anfaenger)frage:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
format zu konvertieren. ich hab inzwischen ein kleines perl script, aber
apt / apropos gibt mir nichts aus. flasch gesucht?
[EMAIL PROTECTED]:~/scripts# ./uconvert.pl 1115030768
Moin!
% apt-cache search libdate
libdate-calc-perl - Perl library for accessing dates
libdate-ical-perl - Perl extension for ICalendar date objects
libdate-leapyear-perl - Simple module to determine whether or not a year is a
leapyear
libdate-manip-perl - a perl library for manipulating dates
und noch was:
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
localtime(1115030768);
print $sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst\n;
--
: But for some things, Perl just isn't the optimal choice.
(yet) :-)
-- Larry Wall in [EMAIL PROTECTED]
--
Haeufig
Am 2005-05-02 13:28:56, schrieb Richard Mittendorfer:
angenehmen montag.
gleich zur (anfaenger)frage:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
format zu konvertieren. ich hab inzwischen ein kleines perl script, aber
apt / apropos gibt mir nichts aus. flasch
On 5/2/05, Richard Mittendorfer [EMAIL PROTECTED] wrote:
gleich zur (anfaenger)frage:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
format zu konvertieren. ich hab inzwischen ein kleines perl script, aber
apt / apropos gibt mir nichts aus. flasch gesucht?
Ich nutz awk
Hi!
Am Montag, 2. Mai 2005 13:28 schrieb Richard Mittendorfer:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
format zu konvertieren.
[EMAIL PROTECTED]:~/scripts# ./uconvert.pl 1115030768
12:46:08 02.05.2005
$ date -d '1 jan 1970 + 1115030768 secs' +'%T %d.%m.%Y'
11:46:08
Also sprach Reinhold Fischer [EMAIL PROTECTED] (Mon, 2 May 2005
13:55:08 +0200):
Hi!
danke fuer die hinweise. aber
Am Montag, 2. Mai 2005 13:28 schrieb Richard Mittendorfer:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
format zu konvertieren.
[EMAIL
Also sprach Robert Müller [EMAIL PROTECTED] (Mon, 2 May 2005
14:07:50 +0200):
On 5/2/05, Richard Mittendorfer [EMAIL PROTECTED] wrote:
gleich zur (anfaenger)frage:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
format zu konvertieren. ich hab inzwischen ein kleines perl
On 5/2/05, Richard Mittendorfer [EMAIL PROTECTED] wrote:
Also sprach Robert Müller [EMAIL PROTECTED] (Mon, 2 May 2005
14:07:50 +0200):
On 5/2/05, Richard Mittendorfer [EMAIL PROTECTED] wrote:
gleich zur (anfaenger)frage:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
Richard Mittendorfer [EMAIL PROTECTED] writes:
Also sprach Reinhold Fischer [EMAIL PROTECTED] (Mon, 2 May 2005
13:55:08 +0200):
Am Montag, 2. Mai 2005 13:28 schrieb Richard Mittendorfer:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
format zu konvertieren.
[EMAIL
Also sprach Robert Müller [EMAIL PROTECTED] (Mon, 2 May 2005
15:06:56 +0200):
On 5/2/05, Richard Mittendorfer [EMAIL PROTECTED] wrote:
gleich zur (anfaenger)frage:
gibt's da ein natives debian tool um unix time in ein
lesbar(er)es format zu konvertieren. ich hab inzwischen ein
Also sprach Martin Dickopp [EMAIL PROTECTED] (Mon, 02 May 2005
15:07:18 +0200):
Richard Mittendorfer [EMAIL PROTECTED] writes:
Also sprach Reinhold Fischer [EMAIL PROTECTED] (Mon, 2 May
2005 13:55:08 +0200):
[...]
$ date -d '1 jan 1970 + 1115030768 secs' +'%T %d.%m.%Y'
11:46:08
Hi!
Am Montag, 2. Mai 2005 14:42 schrieb Richard Mittendorfer:
Am Montag, 2. Mai 2005 13:28 schrieb Richard Mittendorfer:
gibt's da ein natives debian tool um unix time in ein lesbar(er)es
format zu konvertieren.
[EMAIL PROTECTED]:~/scripts# ./uconvert.pl 1115030768
12:46:08
Richard Mittendorfer [EMAIL PROTECTED] writes:
Also sprach Martin Dickopp [EMAIL PROTECTED] (Mon, 02 May 2005
15:07:18 +0200):
Richard Mittendorfer [EMAIL PROTECTED] writes:
Also sprach Reinhold Fischer [EMAIL PROTECTED] (Mon, 2 May
2005 13:55:08 +0200):
[...]
$ date -d '1 jan 1970 +
Also sprach Martin Dickopp [EMAIL PROTECTED] (Mon, 02 May 2005 16:11:46
+0200):
Richard Mittendorfer [EMAIL PROTECTED] writes:
[EMAIL PROTECTED]:~$ date -R
Mon, 02 May 2005 15:19:10 +0200
--^
..muesste ich da nicht _2_ stunden daneben liegen? immerhin rennt
Hi,
Richard Mittendorfer wrote:
[EMAIL PROTECTED]:~/scripts# echo 1115030768 | gawk '{ print
strftime(%H:%M:%S, $1)}' 12:46:08
FWIW, %c statt %H:%M:%S gibt noch ein bisschen mehr aus:
Mo 02 Mai 2005 12:46:08 CEST
--Ingo
--
Linux, the choice of a GNU | I am a signature virus. Distribute me
19 matches
Mail list logo