Benjamin Jung
12/20/2023, 8:40 PMsearch.Column
object. I was hoping to do an operation on all columns of a search result that have the type datetime
. It seems that this property is only visible in the debugger but not actually accessible in any way (the docs don't acknowledge its existence). Am I out of luck?
What I'm trying to accomplish is to format all datetime fields into a different time zone but I'm not sure how to pick out the columns that are actually a datetime. Any suggestions on how to accomplish this?alien4u
12/20/2023, 9:06 PM.name
and .label
properties).
⢠Dynamically determine if the value of a column is a valid date string (moment("12/20/2023", "MM/DD/YYYY", true).isValid(); // true)Benjamin Jung
12/20/2023, 9:28 PMbattk
12/20/2023, 11:28 PMBenjamin Jung
12/21/2023, 2:57 PMJSON.parse(JSON.stringify(column))