what is the syntax of time data type for creating table in thingworx?
I'm not quite sure what your question is but.
you can create DataTables, that will require a datashape
you can create in memory infotables which are done easiest with a datashape
the datashape will define your base types.
there are snippets for infotables, and any query from a datatable using a service will end up with a table
there are some really good posts on infotables, just search the community.
Retrieving data ...