nsmcp::LogRecordParser method timestampSeconds (public)

 <instance of nsmcp::LogRecordParser[i]> timestampSeconds timestamp

Defined in /usr/local/ns/tcl/nsmcp/log-record.tcl

Convert a supported NaviServer log timestamp to epoch seconds. Validate the timestamp layout and retain supported fractional-second information.

Parameters:
timestamp (required)
Parsed timestamp or timing base supplied by the parser.
Returns:
The parsed epoch timestamp, or an empty result for an invalid timestamp.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: