Nп/п : 84 из 93
От : Dennis Slagers 2:280/2060 05 ноя 24 16:46:38
К : Dennis Slagers 05 ноя 24 18:55:01
Тема : date
----------------------------------------------------------------------------------
@MSGID: 2:280/2060 672a3e39
@REPLY: 2:280/2060 6729adfa
@CHRS: CP850 2
@TZUTC: 0100
Hello Dennis!
05 Nov 24 06:32, I wrote to all:
DS> Hello everybody!
DS> Asking for a friend: can hpt do the logging and sent $date variable as
DS> yyyy rather than only yy ?
Answering myself ..
I added
use Time::Piece;
. "Date: $mydate". Time::Piece->strptime($date, "%d %b %y
%H:%M:%S")->strftime("%Y-%m-%d %H:%M:%S") . "
"
to change the date from yy to yyyy ..
the $date is something wierd and the docs are not clear about it ;)
Dennis
--- GoldED+/LNX 1.1.5-b20240309
* Origin: ---- BOFH: Problem solved, user deleted. (2:280/2060)
SEEN-BY: 50/109 104/117 153/757 154/10 203/0
218/840 221/1 6 240/1120 280/464
SEEN-BY: 280/1049 2000 2030 2050 2060 5003 5006
292/854 301/1 320/219 335/364
SEEN-BY: 341/66 234 423/81 452/28 166 460/58
463/68 467/888 5000/111 5005/49
SEEN-BY: 5010/352 5015/46 5020/715 828 846 848
1042 4441 12000 5030/49 1081
SEEN-BY: 5053/51 5061/133 5075/128 5083/444
@PATH: 280/2060 5003 221/1 6 5020/1042 4441