For capturing date and time field on particular object:
Set Up -> Object Manager ->Click on the Object where you want to create Date/Time field ->Click on Field & Relationships ->on the right click on New -> Select Data Type Date/Time and proceed further.
From this two fields will be created on the selected object where you can choose the date and in the time field current time will automatically populate.
If you want to do it by formula, refer the article which will help you to create the formula fields: https://trailhead.salesforce.com/en/modules/advanced_formulas/units/date_formulas
Hi,
For capturing date and time field on particular object:
Set Up -> Object Manager ->Click on the Object where you want to create Date/Time field ->Click on Field & Relationships ->on the right click on New -> Select Data Type Date/Time and proceed further.
From this two fields will be created on the selected object where you can choose the date and in the time field current time will automatically populate.
If you want to do it by formula, refer the article which will help you to create the formula fields:
https://trailhead.salesforce.com/en/modules/advanced_formulas/units/date_formulas
Thank You
Thanks for all your reply. However my Req is I already have date and need to add current time to it thru code.