Advantage Client Engine
Retrieves the time value from the given time or timestamp field as the number of milliseconds since midnight
UNSIGNED32 |
AdsGetMilliseconds (ADSHANDLE hTable, UNSIGNED8 *pucFldName, SIGNED32 *plTime); |
hTable (I) |
Handle of table or cursor. |
pucFldName (I) |
Name of field to retrieve. |
plTime (O) |
Return the value. |
AdsGetMilliseconds returns the number of milliseconds since midnight that is stored in a time field, ModTime field, or in the time portion of a timestamp field.
The pucFldName parameter can be passed as the field name itself or as the one-based integer field position. To pass an integer field position for the pucFldName parameter, use the ADSFIELD macro that is defined in ACE.H. For example, to specify the first field in the table, pass ADSFIELD(1) for the pucFldName parameter; to specify the second field in the table, pass ADSFIELD(2) for the pucFldName parameter; etc.