How can I set the default value for a date/time field to the current time?

  • 1
  • Question
  • Updated 6 years ago
I have a user entry field that has date/time as the data type. I would like to set the default value to Now() when adding a new row in a table. The user can change the value if needed.
Photo of Heath Long

Heath Long

  • 120 Points 100 badge 2x thumb

Posted 6 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,828 Points 20k badge 2x thumb
Heath - you can absolutely do that with a little Javascript.  There is a great conversation about code that includes such a default date in this conversation:   Hopefully that will give you a good start.  Enjoy the coding over turkey...  Grin.