Topic Options
Rate This Topic
#82910 - 06/10/03 04:58 AM Getting Server using Active links
aakkineni Offline
newbie

Registered: 03/11/04
Posts: 44
Hi all ,

IS THERE A WAY TO GET THE SERVER TIME USING AN ACTIVE LINK.
$TIMESTAMP$ Returns only the client time in activelinks. I TRIED artime ,
it is not working. Please help iam in big trouble with this.

Thanks in advance
Shaun




Top
#82911 - 06/10/03 06:28 AM Re: Getting Server using Active links [Re: mdsouza]
widowfield Offline
Stealth Member

Registered: 03/11/04
Posts: 140
Yes you can. You'll need a $PROCESS$ @@ command that returns epoch
seconds. On Unix, you could use Perl. On Windows you could either use
Perl or CScript (WSH).

Some implementations of Unix and all Linux servers let you run this
from the command line:

$ date +%s
1055262207

Thank you, GNU.

You might have to set fields $PROCESS$ to an integer field first, then
copy the value to the date/time field.

--Tim

--- Shaun Pollock wrote:
> Hi all ,
>
> IS THERE A WAY TO GET THE SERVER TIME USING AN ACTIVE LINK.
> $TIMESTAMP$ Returns only the client time in activelinks. I TRIED
> artime ,
> it is not working. Please help iam in big trouble with this.
>
> Thanks in advance
> Shaun
>
>

> UNSUBSCRIBE or access ARSList Archives at http://www.ARSLIST.org
> (Support: mailto:support@arslist.org ) ARSList is hosted by QMX
> SUPPORT SERVICES at www.QMXS.com



Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com




Top
#82912 - 06/10/03 11:24 AM Re: Getting Server using Active links [Re: mdsouza]
clary Offline
Stealth Member

Registered: 02/01/02
Posts: 26
Shaun;
Do you just need to see the time, or are you trying to use the time in workflow?
I have made a form with one record and one filter that on Modify sets the time in a field. I then just pull that information from the form with an ActiveLink.

"Shaun Pollock" wrote in message news:<9A0D3C1DFCBFD111AC3700A0C98999640D66D1@gandalf.cogniza.com>...
> Hi all ,
>
> IS THERE A WAY TO GET THE SERVER TIME USING AN ACTIVE LINK.
> $TIMESTAMP$ Returns only the client time in activelinks. I TRIED artime ,
> it is not working. Please help iam in big trouble with this.
>
> Thanks in advance
> Shaun
>
>
>




Top


Moderator:  Matt Reinfeldt