+ Start a Discussion
uuuu 

How to set default value for "Time" field

Hey friends,
I want to set default value as 9 to "Time" Field.
09:00:00
09
09:00
Above values not accepting.
Please tell me how to write it.
Thank you
Best Answer chosen by uu
AnudeepAnudeep (Salesforce Developers) 
Hi Anita,

Can you try HH:MM:SS.MS format as per https://help.salesforce.com/articleView?id=custom_field_time_overview.htm&type=5

For example: Use the HH:MM:SS.MS format to set a default value for a field, such as TIMEVALUE("10:30:00.000") for 10:30 AM

Anudeep

All Answers

AnudeepAnudeep (Salesforce Developers) 
Hi Anita,

Can you try HH:MM:SS.MS format as per https://help.salesforce.com/articleView?id=custom_field_time_overview.htm&type=5

For example: Use the HH:MM:SS.MS format to set a default value for a field, such as TIMEVALUE("10:30:00.000") for 10:30 AM

Anudeep
This was selected as the best answer
uuuu
Hii Anudeep
Thank you.
It works :)

Regards 
Anita Sodhi