ns_localsqltimestamp - Return a SQL timestamp containing the local time
TABLE OF CONTENTS
SYNOPSIS
DESCRIPTION
COMMANDS
EXAMPLES
SEE ALSO
KEYWORDS
|
This command returns a timestamp value that encodes the local time in ANSI SQL format (YYYY-MM-DD hh24:mm:ss).
% ns_localsqltimestamp 2004-06-22 23:00:27 |
% ns_fmttime ns_time "%Y-%m-%d %H:%M:%S" |
% clock format ns_time -format "%Y-%m-%d %H:%M:%S" |