Hi,

This is how I'm doing it....


<include time.h>

long ltime;
time(&ltime);


...value.dataType  =AR_DATA_TYPE_TIME
...value.u.timeVal = ltime;

--
Jarl



On 5/22/07, Mikhail <[EMAIL PROTECTED]> wrote:
Hello List,
I have a few questions regarding setting a value for the field with
data type "Date/Time" in a C API.

Which one should I use? AR_DATA_TYPE_TIME? or AR_DATA_TYPE_DATE?
Also how can I set it to $TODAY$ (the time and date as we speak)?

An example value for the Date/Type data type would be "5/18/07 1:15:34
PM"

Thanks,
Mikhail

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers 
Are"

Reply via email to