On Wed, 2012-08-15 at 10:18 -0500, Jeff Lawson wrote:
> Are you sure something like this will not work on Oracle?
> 
> 
> SELECT (SYSDATE - TO_DATE('01/01/1970 00:00:00', 'MM-DD-YYYY
> HH24:MI:SS')) * 
> 24 * 60 * 60 FROM DUAL
> 

Actually I have no idea but I think it should be alright. Yesterday I
stole from a developer forum this expression (adapted to appear in Tcl
code) 

($field_name - to_date('1970-01-01')) * 86400 

which looks pretty much the same, apart the Tcl variable 'field_name'.

 -- Massimo




---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to