Hello everybody!
Asking for a friend: can hpt do the logging and sent $date variable as yyyy rather than only yy ?
use Time::Piece;
. "Date: $mydate". Time::Piece->strptime($date, "%d %b %y %H:%M:%S")->strftime("%Y-%m-%d %H:%M:%S") . "\r"
Hi Dennis,
On 2024-11-05 16:46:38, you wrote to you:
use Time::Piece;
. "Date: $mydate". Time::Piece->strptime($date, "%d %b %y
%H:%M:%S")->strftime("%Y-%m-%d %H:%M:%S") . "\r"
You can leave out the $mydate! It's not set.
Bye, Wilfred.
--- FMail-lnx64 2.3.2.4-B20240523
* Origin: FMail development HQ (2:280/464)
Sysop: | Tetrazocine |
---|---|
Location: | Melbourne, VIC, Australia |
Users: | 4 |
Nodes: | 8 (0 / 8) |
Uptime: | 215:42:32 |
Calls: | 73 |
Calls today: | 1 |
Files: | 21,500 |
Messages: | 73,922 |