ios - Use DATETIME and TIME of sqlite query in Core data -


what predicate equivalent of sql query

datetime('now','+0 seconds’) > datetime(zdate,time(zend_time)) 

where

zdate date in format yyyy-mm-dd hh:mm:ss zend_time date in format yyyy-mm-dd hh:mm:ss 

i getting following error when directly using in nspredicate

unable parse function name 'datetime' supported selector (datetime) 


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -