misiek wrote:
> hi
>
> problem is ....
>
> I got date @start and date @stop as a date and I can display like
>
> @start = Thu Jan 19 00:00:00 CST 2006
> @stop = Tue Jan 21 00:00:00 CST 2006

This is not valid Ruby code.  What types are these objects?

> how to split up this days and put to array ?
>
> array[] = "Thu Jan 19 00:00:00 CST 2006
> Wed Jan 20 00:00:00 CST 2006
> Tue Jan 21 00:00:00 CST 2006"

You assign a string but you seem to want an array.  Also, you don't seem
to want to split but to append.

# split at whitespace
array = @start.to_s.split /\s+/

# split into array, works for Time
array = @start.to_a

# put into array
array = [@start, @stop]

# concatenate
array = "#{@start}\n#{@stop}"

> is there some function which can do that ?

If you tells us what you actually want, we might be able to come up with
an answer.

Cheers

    robert