HQL changing year/month/date into year-month-date - date

I have tried with DATE_FORMAT(original_date,'%Y-%m-%d'), and it's not working. Anyone know the answer quick? Searching google hasn't really been helpful.

from_unixtime(unix_timestamp('2015/01/01' ,'yyyy/MM/dd'), 'yyyy-MM-dd')
That works!

Related

How to get the "Group" name from a Artboard loop in Adobe XD

I was wondering if someone could help me get the Group name / title for a Adobe XD plugin I am working on.
I have tried doing element.Group but it comes back as undefined. I can see it in the loop if I console.log(element) but can't target the name.
If anyone can help that would be great!
Thank you.
I Figured it out.
It was just element.name, simple :)
Closing question down.

Using annotation ElementDependent in OpenJPA

I don't know how and when I can use #ElementDependent in OpenJPA. But I can't find more infor in google. So I need to help to understand it. Please help me. Thanks you.

Error about graph API

When I used this link: http://graph.facebook.com/807470072639300/photos/?limit=1&offset=3, It works OK But when I used http://graph.facebook.com/807470072639300/photos/, It doesn't work. Please help me to find out the reason. Many thanks for you help
This seems like a bug to me. You can report this at https://developers.facebook.com/bugs/

Using instagram filters from an open source library

GPUIMage helped alot but exact result like instagram is not there. Found a new library but Not able to figure out how to use this. Any suggestions ?
https://github.com/binhdna/Instagram-Filters
Check this git.. code is provided..so this will help you the most..
https://github.com/OmidH/Filtrr
Hope it Help to you :)

iOS: Foursquare shout or creating event

I am working with foursquare a for the first time, having hard time with this: Is there any API from the foursquare that supports function to allow shout out? If there is can someone tell me the link. I am really stuck with this stuff..
there is a good example in github for this,hope that helps you. :
https://github.com/Constantine-Fry/Foursquare-iOS-API
This is latest and working FSQDemo works with iOS5 and Xcode4.2 tested. Please read Readme.md first, you need to create your application and put your clientid as mentioned in it.
When you run the application you can get check in and before you do that you have to click on obtain access token.
According to this A shout is Foursquare’s version of a status update or a tweet and from this forum discussion it is passing shout as parameter to url. So there may/must be a way from this sample as it allows check in.
Hope this helps.
Got it.. Thanks with this > https://github.com/baztokyo/foursquare-ios-api/blob/master/README.md