🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Date comparison

User: "abbaszavar"
New Altair Community Member
Updated by Jocelyn

Hi there,

I have a date attribute and I want to find any date 6 months before that.

I have used "Generate Attributes" and the date_diff() function like this: date_diff(ServiceDate,01-07-2015)

but it doesn't work! what should be the format for the second date?

Any advice?

Thanks,

Abbas

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Thomas_Ott"
    New Altair Community Member
    Accepted Answer

    @abbaszavar try using Nominal to Date operator. You will need to input the format of your date, so if you have 2017-01-18, then you must enter it as yyyy-MM-dd, then RapidMiner will automatically convert those values into date format.