Re: JESS: Get the current year

"Ernest Friedman-Hill" <[email protected]>
Newsgroups gmane.comp.java.jess
Message-ID <[email protected]>
The java.util.Calendar class is available for this purpose.

On Aug 24, 2010, at 12:08 PM, ANA TANASESCU wrote:

> Hello everybody,
>
> I want to define a rule that makes the difference between the year  
> of the current date and the year from a slot in my ontology.
> Is there a function that gets the current date or the year from the  
> current date?
>
> I am looking forward for your answer.
> Best regards,
> Ana
>

---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com







--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [email protected]'
in the BODY of a message to [email protected], NOT to the list
(use your own address!) List problems? Notify [email protected].
--------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.