Rajesh Raman wrote:
>
> If you just want to insert the current time:
>
> ad.InsertAttr( "pippo", Literal::MakeAbsTime( ) );
>
> (The default param of MakeAbsTime will ensure that
> the current time gets inserted)
>
> ++Rajesh
>
> --- Nicholas Coleman <ncoleman@xxxxxxxxxxx> wrote:
> ...
> > Of course you could avoid all that by doing:
> >
> > time( timeval )
> > timeExpr = MakeAbsTime( timeval );
> > ad.InsertAttr( "pippo", timeExpr );
> ...
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> Condor Classads Info:
> http://www.cs.wisc.edu/condor/classad/
I am afraid but I forgot to say I am working with Java classes. I know
there are some differences between C++ and Java classes. If you can give
me some advise using Java I will be very glad.
Giuseppe
--
_________________________________
Giuseppe Avellino
GRID R&D Group
Defence, Space & Environment Division
DATAMAT S.p.A.
Via Laurentina, 760 - I - 00143 Rome - Italy
http://www.datamat.it
mailto:giuseppe.avellino@xxxxxxxxxx
Phone: +39 06 5027 4587 (direct) +39 06 5027 4570 (secretary)
Fax: +39 06 5027 4500
Condor Classads Info:
http://www.cs.wisc.edu/condor/classad/
|