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: | Sarah |
---|---|
Location: | Portland, Oregon |
Users: | 19 |
Nodes: | 16 (0 / 16) |
Uptime: | 53:27:08 |
Calls: | 126 |
Calls today: | 126 |
Files: | 84,009 |
U/L today: |
5 files (318K bytes) |
D/L today: |
33 files (8,385K bytes) |
Messages: | 38,258 |
Posted today: | 25 |