2.0b7: Advanced Search / creationtime Broken

Posted by: jloew

2.0b7: Advanced Search / creationtime Broken - 04/02/2002 14:42

All searches return nothing when I use time_t format (1970 epic date, expressed in seconds).
Posted by: Roger

Re: 2.0b7: Advanced Search / creationtime Broken - 05/02/2002 03:27

That's because the correct field name is 'ctime'.
Posted by: jloew

Re: 2.0b7: Advanced Search / creationtime Broken - 05/02/2002 13:21

Thanks! The field works, but the values seem a bit strange. At least half of my collection has the value as 0.

I'm using this as a possible method to find newly added songs.
Posted by: Roger

Re: 2.0b7: Advanced Search / creationtime Broken - 05/02/2002 15:19

The field was added in v2.0 (actually it was v1.1 at the time), so if you've got anything put on there with v1.0, it'll have a zero ctime. But, for your purposes, that's probably fine.
Posted by: jloew

Re: 2.0b7: Advanced Search / creationtime Broken - 05/02/2002 15:29

Thanks Roger. Now if I could just find a util to create ctime format so I could stop guestimating! ;-) Happen to have one?
Posted by: Roger

Re: 2.0b7: Advanced Search / creationtime Broken - 06/02/2002 01:29

Maybe I'll take a look at the query lexer and support VB-style date specifications or something...