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
Post a Comment