Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 18 Tuple : Tuple Operations : tibasTuple_GetDateTime()

tibasTuple_GetDateTime()
Function
Declaration
tibas_status tibasTuple_GetDateTime
(tibasTuple      tuple,
tibas_DateTime*  dateTime,
const char*      fieldname)
Purpose
Returns the datetime value stored in the field with the specified name.
Parameters
 
Remarks
Use the tibasTuple_GetDateTime() function to return the datetime value stored in a specified field in a specified tuple.
The function returns a pointer to a _tibas_dateTime structure, The _tibasDateTime struct is defined as follows:
struct _tibasDateTime {
tibas_long sec;
tibas_int nsec;
};
The members in the _tibas_dateTime struct are defined as follows:
sec  Indicates the time, in seconds, since the UNIX EPOCH time (1970-01-01 00:00:00 +0000).
nsec  Indicates the time, in nanoseconds, since the UNIX EPOCH time (1970-01-01 00:00:00 +0000). This field provides is extra timing information in addition to the number of seconds since the EPOCH time; usually this is set to 0.
See Also
tibasTuple_GetChar(), tibasTuple_GetShort(), tibasTuple_GetInt(), tibasTuple_GetLong(), tibasTuple_GetLong(), tibasTuple_GetFloat(), tibasTuple_GetFloat(), tibasTuple_GetDouble(), tibasTuple_GetString(), tibasTuple_GetBoolean(), tibasTuple_GetBlob(), tibasTuple_PutDateTime()

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved