12-05-2019, 06:10 PM
(11-25-2019, 05:40 PM)efrain.c Wrote: Hi JereMiami,
Assuming you have the recordID of the record in tRecordID and the table name in tTableName you can do the following:
Code:put cdb_read(tTableName, tRecordID, "cloud") into tOutputA
put tOutputA[tRecordID]["cdb"]["cdbDateCreated"] into tDateCreated
tDateCreated will contain the value you want
Thanks! I also was able to retrieve the date created metadata and convert it into a date and time format using:
put cdb_lookUpValue(table, tLine, "cdb", "cloud") into tTempHolder
combine tTempHolder using return
put line 2 of tTempHolderinto tHolder