Page 1 of 1

Current time in hrs.

Posted: Tue Mar 02, 2010 11:56 pm
by mekrreddy
I have to compare a hard coded time in hrs with current time in hrs. I think i can use @TIME, but dont know xactly how to use, can you guys give the syntax for @TIME plz,
your help is greatly appreciated..

Posted: Wed Mar 03, 2010 12:58 am
by ray.wurlod
CurrentTime()

Posted: Wed Mar 03, 2010 7:57 am
by chulett
All of those "@" variables are documented in the help under the heading of System Variables.

Posted: Wed Mar 03, 2010 10:59 pm
by mekrreddy
I did this using OCONV(@TIME, "MTS").

Thanks guys.

Posted: Wed Mar 03, 2010 11:08 pm
by ray.wurlod
Did you do that in a server job or in a BASIC Transformer stage in a parallel job? Because Oconv() is not supported in the parallel Transformer stage.

Posted: Thu Mar 04, 2010 12:39 pm
by mekrreddy
Sorry, I did this in Uservariable stage in seqence job.

Thanks.

Posted: Thu Mar 04, 2010 3:14 pm
by ray.wurlod
Cool.

A Sequence job is a special case of a Server job.

That's one reason server jobs are going to remain in the product indefinitely.