Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - M-Business Anywhere Programming » UltraLite for M-Business Anywhere API Reference » ULTable class

 setTime method Next Page

setTimestamp method


Sets the value for the specified column using a Date.

Syntax

setTimestamp( UInt16 columnID, Date value )

Parameters
Remarks

The data in the row is not actually changed until you execute an insert or update, and that change is not permanent until it is committed.

Example

The following statement sets the value of the first column to 1966/04/01 18:02:13:0000:

t.setTimestamp(
  1, new Date( 1966,4,1,18,2,13,0 )
);