Skip to main content
Question

Add date/time field witn API_AddField

  • March 6, 2020
  • 0 replies
  • 61 views

I'm tying to figure out how to add a date/time field in the table using api call API_AddField.
There's no such type mentioned in the official API reference.

------------------------------
Stepan Gurov
------------------------------
This topic has been closed for replies.

  • Registered
  • March 6, 2020
Add that field as a date field and then use API_SetFieldProperties with the display_time tag in there. I'm sure you will need more than just that but I will link you to the help documentation.

"display_time: Specifies whether the field shows date only in Quick Base UI or both date and time. This option turns a date field into a date-time field."

https://help.quickbase.com/api-guide/setfieldproperties.html