I want to know if there's any method to get the system date and convert it as a Number, or just getting the system date's year as a number.
I implemented this through user defined functions - I found some suitable date-manipulation library and exposed selected functions to the CLIPS language.
And could you write it in this forum?? cause i'm going to lose my mind thinking about it!! :S
If you're running on unix, you can do the following:
(deffunction get-date ()
(system "date > date.out")
(open "date.out" date "r")
(bind ?v (readline date))
(Fri Apr 13 10:56:13 CDT 2012)
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.