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: | Saxainden |
---|---|
Location: | Littleton, CO |
Users: | 58 |
Nodes: | 10 (0 / 10) |
Uptime: | 05:41:21 |
Calls: | 757 |
Calls today: | 1 |
Files: | 32 |
Messages: | 43,644 |