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

c# - Store DBContext Log in other EF table -

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

Nuget pack csproj using nuspec -