How do I set the default value for a Time field to 8:00 AM?

6 views
Skip to first unread message

AppSynergy Support

unread,
Oct 27, 2020, 4:28:54 PM10/27/20
to AppSynergy by ParaSQL Support
What would the formula look like to make a time field default to 8:00 AM?

AppSynergy Support

unread,
Oct 27, 2020, 4:31:22 PM10/27/20
to par...@googlegroups.com
The Default Value formula is just JavaScript... so it would look like the following for 8:00 AM:

new Date(0,0,0,8,0).valueOf()

Some simplified JavaScript Date object info here: https://www.w3schools.com/jsref/jsref_obj_date.asp

Reply all
Reply to author
Forward
0 new messages