+ Start a Discussion

how to get the correct date& time

i created one object&created one record after 5 min i modified that record .

if i queried  that created , modified Datetime different from actual created,modified DateTime. how to get both are same?


You must have done something wrong .

Try this in Workbench

Select SOQL query from picklist and then select your desired object .

In query put your fields like Name,Created Date,Last modified by date .


Now create a record and query it using workbench  .Note down the Created date and Last modified date .

After 2mins  Edit the record .Query the same again using workbench .


If you still rely on previous result then you are wrong .Workbench does not refresh itself until you refresh it .