AnsweredAssumed Answered

created != modified for newly created objects?

Question asked by hu2hugo on Feb 16, 2008
Latest reply on Feb 16, 2008 by hu2hugo
I want to check whether an object has been changed since its creation. When I create a cm:cmobject with the mandatory cm:auditable aspect, cm:created and cm:modified differ with a few milliseconds. I currently check for a difference of 1 second (<#if (dateCompare(["cm:created"],["cm:modified"], 1000) == 0)>) but it feels rather hacky.

Is there a better way to check for modifications without using cm:versionable?