Hi

>Does anyone have a generic means to do date arithmetic i.e.   add 1 day 
>(wekk,month) to an >existing date attribute in workbench


you can use the tcl clock command to do this kind off things, for exampel 
the below command sets the variable yesteday to now minus one day

set yesteday [ clock format [clock scan "-1 days" -base [clock seconds]] 
-format %m%d%y ]

for the documantation off teh command see
http://www.tcl.tk/man/tcl8.5/TclCmd/clock.htm

Peter

_________________________________________________________________
Opret en personlig blog og del dine billeder på MSN Spaces:  
http://spaces.msn.com



For insights into what's up at Safe Software and what's on the development 
horizon, visit Safe's blog at spatial-etl.blogspot.com.

Safe Software has also made slides available that outline enhancements planned 
for FME 2007. The slides are from the "Road Ahead" presentation given on Day 2 
of the FME Worldwide Users Conference. To view these slides, visit 
www.safe.com/2006uc.

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/fme/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/fme/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to