Oihana PHP Arango

dateNow.php

Table of Contents

Functions

dateNow()  : string
Returns the current Unix timestamp (milliseconds since epoch).

Functions

dateNow()

Returns the current Unix timestamp (milliseconds since epoch).

dateNow() : string

This helper builds the AQL expression:

DATE_NOW()

It is equivalent to calling DATE_NOW() in AQL, which returns the current UTC timestamp as a numeric value representing milliseconds since January 1, 1970 (Unix epoch).

Tags
example
echo dateNow();
// Produces: "DATE_NOW()"
see
https://docs.arangodb.com/stable/aql/functions/date/#date_now
since
1.0.0
author

Marc Alcaraz

Return values
string

The AQL expression string "DATE_NOW()".

On this page

Search results