Activity Forums Salesforce® Discussions How to get current time in field in Salesforce?

  • Shweta

    Member
    November 10, 2020 at 4:23 am

    Time fields use the TIMEVALUE() function similarly to DATEVALUE(). And to get the current time, use the TIMENOW() function.

  • Marziya

    Member
    November 10, 2020 at 1:18 pm

    Time fields use the TIMEVALUE() function similarly to DATEVALUE(). Say you want to set a time field default value to 5:30 PM. Use the international date format (ISO) in a formula for the field's default value. And to get the current time, use the TIMENOW() function.

  • Ayush

    Member
    November 11, 2020 at 5:09 am

    With the help of TIMENOW() function.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos