if {[db_string pubdate "select to_date(:publish_date_ansi,'YYYY-MM-DD')"] eq [dt_sysdate]} { set publish_date_ansi [dt_systime] }