I am using Time.parse for creating time object like
start_date =
Time.parse("#{event.from_year.to_s}-#{event.from_month.to_s}-#{event.from_day.to_s}
#{event.from_time.to_s}")
end_date =
Time.parse("#{event.to_year.to_s}-#{event.to_month.to_s}-#{event.to_day.to_s}
#{event.to_time.to_s}")
But when i pass input year to this as 1993 then after parsing it give me
result
2001-01-02 20:00:00 like this? why not it give me year as a 1993?
please help me to find solution.