Salesforce Administration, Salesforce Developer

Setting a date/time field default value

There is an date & time field. Which is set to current date and time automatically syncing with system.

Problem: some times front end agents forgot to change the Time and submit the order. I want agents to select the proper time before submitting the order.

Question: Would it be possible to set the default time 00:00 using date and time data type. So that end users can manually choose the correct time accordingly.

Workaround:

Edit Date & Time field and go to formula editor, use the below formula

DATETIMEVALUE(TEXT(TODAY())&’ 00:00:00′)

 

Leave a comment