# File lib/tapkit/access/adapters/openbase.rb, line 476 def sql_for_date( date ) if date.nil? then 'NULL' elsif date.class == Time then "'#{date.to_s(true)}'" elsif date.class == Timestamp then time = date.to_time.utc timestamp = Timestamp.new_with_datetime time timestamp.zone = '+0000' "'#{timestamp.to_s}'" else "'#{date.to_s}'" end end