This gives timestamp, what about just date ?
Also kindly inform how to set the timezone. I do not want the timezone of
server to be picked.

Regards,
Gaurav



On Mon, Mar 31, 2014 at 7:28 PM, Luca Garulli <[email protected]> wrote:

> Hi,
> use the date() function, like:
>
> select date()
>
> Lvc@
>
>
>
>
>
> On 31 March 2014 15:42, Gaurav Dhiman <[email protected]> wrote:
>
>> How to get current date and timestamp in OrientDB ?
>>
>> Kindly share examples of both - in SQL command as well as using object
>> methods (if possible).
>>
>> Regards,
>> Gaurav
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "OrientDB" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/orient-database/XVlbc33qd8M/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to