Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

Using setVal to Set a Timestamp

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 9.0
    • Documentation

Use this method to set a value for XO_TYPE_TIMESTAMP column.

void setVal(
  int year, 
  int month, 
  int day_of_month, 
  int hour, 
  int minute, 
  int second, 
  int fraction)

Parameters for setVal When Setting a Timestamp

Parameter Type Description
INPUT
year int Years after 0 A.D.
month int Months since January - [0,11].
day_of_month int Day of the month - [1,31].
hour int Hours since midnight - [0,23].
minute int Minutes after the hour - [0,59].
second int Seconds after the minute - [0,59].
fraction int Number of billionths of a second and ranges from 0 - 999999999).
RETURN
NONE
TitleResults for “How to create a CRG?”Also Available inAlert