+ Start a Discussion
srinivasan14srinivasan14 

Is it Possible to get the Date and Time in the LastModifiedBy field in VisualForce Page?

In My visualforce force page,i have used lastmodifiedby field.

I want the date and time when it is modified.

How can i do this?

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

You can use the LastModifiedDate field (which is actually a date/time!)

All Answers

bob_buzzardbob_buzzard

You can use the LastModifiedDate field (which is actually a date/time!)

This was selected as the best answer
Navatar_DbSupNavatar_DbSup

Hi,

 

If you need to get the Date time when record was last modified then you cam make use of “LastModifiedDate”  field in that object. You can access this field via SOQL like "Select a.LastModifiedDate, a.LastModifiedById From Account a".

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

srinivasan14srinivasan14

Thanks Its Working..........:smileyhappy: