ec_date_to_cybercash_date_for_query

one of the documented procedures in this installation of the ACS
Usage:
ec_date_to_cybercash_date_for_query   db   the_date   n_hours_to_add
What 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 GMT
Defined 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"]


philg@mit.edu