ec_date_to_cybercash_date_for_query db the_date n_hours_to_addWhat it does:
turns date in the format YYYY-MM-DD HH24:MI:SS into CyberCash's format yyyymmddhhmmss with n_hours_to_add hours added because CyberCash uses GMTDefined in: /web/philip/tcl/ecommerce-credit.tcl
Source code:
return [database_to_tcl_string $db "select to_char($n_hours_to_add/24 + to_date('$the_date', 'YYYY-MM-DD HH24:MI:SS'), 'YYYYMMDDHH24MISS') from dual"]