In the oracle table is a column containing the last modified date of current row. How do I format a date in Lotusscript so that it is comparable to the oracle date type? I’ve tried CStr and TO_CHAR but that is only comparing the characters, not actual dates. If possible I want to create a date in lotusscript that requires no formatting but can be compared to the oracle date. Something like LAST_MODIFIED > lastdate (this oracle date is greater than the lotussciript date). I’ve no control of the oracle table.
Share
Create an Oracle date using the to_date function.
to_date(,’format’)
Format your date as a string for example: 06-05-2012 and this will return an Oracle date:
In plsql that would look like:
But of course you can do this in SQL directly.