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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,063 |
Nodes: | 17 (1 / 16) |
Uptime: | 16:26:17 |
Calls: | 501,347 |
Calls today: | 3 |
Files: | 109,427 |
D/L today: |
3,164 files (340M bytes) |
Messages: | 302,299 |