Please try this Cache Object script command.

w $ZD($ZDATEH("YYYYMMDD",5))

Example:

w $ZD($ZDATEH("20170925",5)).

Output: 09/25/2017

Hi Peter,

 

Please check the below-mentioned message. 

 

Pasi
This is a forced error as Paul describes.

It occurs in the %Save method of a persistent object to trap a number of
different cases where the save should not proceed.
The %Save method includes code that should catch and handle this error,
so you should not see it in your application.

Is there anything unusual about the class where it occurs?  Does it
contain a %OnAddToSaveSet method or custom storage schema or anything
else that is odd?

Regards
George

George James Software
Cach� Tools, Training, Technology
www.georgejames.com
+44-1932-252568



> -----Original Message-----
> From: Paul Gausden [mailto:[EMAIL PROTECTED] 
> Posted At: 27 July 2004 14:41
> Posted To: Cach� Newsgroup
> Conversation: <ZSG>%Save+9
> Subject: Re: <ZSG>%Save+9
> 
> 
> The error code is a forced application error, so it will not 
> be in the documentation.
> 
> from the command line:
> 
> >ZT "SG"
> 
> ZT "SG"
> ^
> <ZSG>
> 
> 
> Regards
> 
> Paul
> 
> "Pasi Leino" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
> > Cach� 5.01, Windows 2000 Server
> >
> > I hit the error in subject. Any idea what it might be? 
> Could not find 
> > in docs, nor from the archieve.
> >
> > thanks,
> > -Pasi-
> >
> >
> 
> 

 

Thanks,

Arun Kumar Durairaj.

I am interested in joining in "Global Masters Advocate Hub" group.