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();
// output
2016.05.12T19:32:49.613

now(true);
// output
2016.05.12T19:32:49.614243000