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: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,048 |
Nodes: | 10 (0 / 10) |
Uptime: | 80:36:09 |
Calls: | 13,570 |
Calls today: | 2 |
Files: | 186,858 |
D/L today: |
27,814 files (8,589M bytes) |
Messages: | 3,399,425 |