Print the current local timestamp in log format.

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sgnd_timestamp

Purpose

Print the current local timestamp in log format.

Output

Prints YYYY-MM-DD HH:MM:SS.

Returns

  • 0 on success; otherwise date command status.

Usage

  sgnd_timestamp