Logo
DiS Needs You: Save our site »
  • Logo_home2
  • Records
  • In Depth
  • In Photos
  • Blog
  • Podcast
  • Search
  • Community
  • Records
  • In Depth
  • Blog
  • Community

THIS SITE HAS BEEN ARCHIVED AND CLOSED.

Please join the conversation over on our new forums »

If you really want to read this, try using The Internet Archive.

Boards

Music Social More…

Javascript can anyone help?

Jamienaz [Edit] [Delete] 16:51, 10 April '14

Some of you guys can do this, right?
I am trying to learn it - but fucking hell it's difficult.
Obviously I've looked elsewhere, but no one has quite got the same problem that I can just rob the solution from.

I am using Pentaho and need to create a java filter that then creates two data streams.

Basically, I am trying to remove all products which have a release date in the future.

Something which would logically be:

IF RELEASEDATE IS > PRESENT DATE THEN THIS IS TRUE
OTHERWISE FALSE

The true stream would just end up in a dead end so I can remove them from the database.

dates are currently in dd/mm/yyyy - but dates when I get them out of javascript have the fucking time with hours minutes and seconds involved. I don't need that.
I don't really know what I'm doing. Is this simple? Is this hard?


Drowned in Sound
  • DROWNED IN SOUND
  • HOME
  • SITE MAP
  • NEWS
  • IN DEPTH
  • IN PHOTOS
  • RECORDS
  • RECOMMENDED RECORDS
  • ALBUMS OF THE YEAR
  • FESTIVAL COVERAGE
  • COMMUNITY
  • MUSIC FORUM
  • SOCIAL BOARD
  • REPORT ERRORS
  • CONTACT US
  • JOIN OUR MAILING LIST
  • FOLLOW DiS
  • GOOGLE+
  • FACEBOOK
  • TWITTER
  • SHUFFLER
  • TUMBLR
  • YOUTUBE
  • RSS FEED
  • RSS EMAIL SUBSCRIBE
  • MISC
  • TERM OF USE
  • PRIVACY
  • ADVERTISING
  • OUR WIKIPEDIA
© 2000-2025 DROWNED IN SOUND