Thread Formatierung eines Datumwertes aus der DB
(42 answers)
Opened by PERLScripter at 2014-12-08 11:58 EDIT: Sorry, DMY soll ja noch zu YMD herumgedreht werden. Dann brauchst Du: Code (perl): (dl
)
1 2 use 5.010; print '05.12.14 12:00:04' =~ s/(\d{2})\.(\d{2})\.(\d{2})\ (\d{2})\:(\d{2})\:(\d{2})/20$3$2$1$4$5$6/gr; Last edited: 2014-12-09 15:42:55 +0100 (CET) |