Column Date Formatting

I am wanting to make one of my sync table columns a dateTime format. However, there is no Value Type of Date. Please help.

Hey @Leo_Gutierrez2 ! Welcome to the community!

You can use the coda.ValueHintType.Date in your schema to tell Coda that the data for that property should be interpreted as a date.

The documentation gives an example like:

let PersonSchema = coda.makeObjectSchema({
  properties: {
    name: { type: coda.ValueType.String },
    born: { type: coda.ValueType.String, codaType: coda.ValueHintType.Date },
    age: { type: coda.ValueType.Number },
  },
  // ...
});

You can also see the full schema documentation here.

Keep us posted if that does the trick!

2 Likes

That did the trick! Thank you so much!

2 Likes