Mmm...

Method %OnAddToSaveSet(depth As %Integer = 3, insert As %Integer = 0, callcount As %Integer = 0) As %Status [ Private, ProcedureBlock = 1 ]
{
set ..SavedDate=$zdt($H,3)

This will give you the time the object was last saved. If you want the creation date instead (understanding by "creation" the first time the object is persisted), try


  set:insert ..SavedDate=$zdt($H,3)

The 'insert' argument is 1 if the object has never been saved before.

HTH,

Ram�n

--
ZCacheLib - Open Source Extensions for Cach�
http://www.zcachelib.org



Reply via email to