Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

Using the setVal method to set a time

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

Use this method to set a value for XO_TYPE_TIME column.

void setVal(
  int hour, 
  int minute, 
  int second, 
  int fraction)

Parameters for setVal When Setting Time

Parameter Type Description
INPUT
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 Not used. Set to 0.
RETURN
NONE
TitleResults for “How to create a CRG?”Also Available inAlert