INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: [Date Modified]=<=1440 not working ?  (Read 1754 times)

drosoph

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 661
  • TiVo-aholic
[Date Modified]=<=1440 not working ?
« on: January 22, 2004, 09:14:36 pm »

[Date Modified]=<=1440 is not working !

I want to create a Smartlist that just shows files modified today ... how do I do it ?

jleerigby

  • Guest
Re:[Date Modified]=<=1440 not working ?
« Reply #1 on: January 23, 2004, 12:45:33 am »

Have you tried [Date Modified]=<1441
Logged

dragyn

  • Guest
Re:[Date Modified]=<=1440 not working ?
« Reply #2 on: January 23, 2004, 04:23:49 am »

not working here also. only thing that shows are http streams.
Logged

Zarius

  • Regular Member
  • World Citizen
  • ***
  • Posts: 178
  • Addicted to smilies.
Re:[Date Modified]=<=1440 not working ?
« Reply #3 on: January 23, 2004, 05:58:04 am »

That's because [Date Modified] is a system time, that is a large number representing the date last modified whereas [Last Played] (with which you can do the <1441 trick) shows the number of hours/days since last played, rather than showing the date.

So a [Date Modified]=<1440 is actually looking for files last modified on a set date (1440 I'm guessing would be around 1970?) rather than a set time ago.

Have a field that stored the time difference since last modified would be handy, but I don't think there's a way to do it at the moment.

Even more handy would be something similar to Wiki's... a log that stored the last modifications and dates, so you could change back if someone changed data in the wrong way (this would take more database space though... depending on how far back you kept the changes, etc... actually, I'd probably keep it in it's own database... anyway, I'm rambling :) ... I might add this to the v10 feature request page... just in case :))
Logged

drosoph

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 661
  • TiVo-aholic
Re:[Date Modified]=<=1440 not working ?
« Reply #4 on: January 23, 2004, 09:41:05 am »

So, Zarius,  Can you think of a way to make it think [Date Modified] == TODAY ?

Zarius

  • Regular Member
  • World Citizen
  • ***
  • Posts: 178
  • Addicted to smilies.
Re:[Date Modified]=<=1440 not working ?
« Reply #5 on: January 23, 2004, 10:05:46 am »

Hmm... I don't know of any way to make it always 'Today', as MC doesn't have a Now() type of variable (ie one that would equal the current time [size=-2]edit: this wouldn't help either... you'd need a variable that was set to the time at the beginning of the current day, eg 23/1/04 00:00am[/size]).  

You could however make one that matched (I'd use greater than.. eg [Date Modified]=>1071918648) the current day and update it each day if that was of any use... to get you started 1071918648 = 20/12/2003 10:10PM (to get more dates/internal number... send the songs you want to a playlist and export that playlist as an MPL file [with the File menu... Export Playlist] and then open the resulting file in a text editor... all the date modified's are shown as their real number, then you can compare that to the date shown in MC's date modified field.)
Logged
Pages: [1]   Go Up