now

Syntax

now([nanoSecond=false])

Arguments

nanoSecond a Boolean value indicating whether to display the result with nanosecond precision.

Details

Return the current timestamp.

Examples

$ now();
2016.05.12T19:32:49.613

$ now(true);
2016.05.12T19:32:49.614243000