Thread Datumformat ändern (2 answers)
Opened by Mark_Gast at 2014-05-27 13:02

FIFO
 2014-05-27 13:25
#175766 #175766
User since
2005-06-01
469 Artikel
BenutzerIn

user image
Guest Mark_Gast
Array[0]= {'25012014','05022014'}


Einen String wandelst Du z.B. so:

Code (perl): (dl )
1
2
my $d = '20140527';
my $reversed = pack( 'A2A2A4', reverse unpack( 'A4A2A2', $d ) );


Bist Du sicher, dass die Array-Elemente Hashreferenzen sein sollen?
Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"

View full thread Datumformat ändern