Tags:
create new tag
view all tags

Question

I create a wiki page per day. I want a navigation bar to help me move around. I've drafted the following pseudo code but can't work out how to make it real.

Can you help?

Thanks!

    • Set TODAY = 10 Nov 2008
    • Set TODAYEPOCH = 10 Nov 2008
    • Set DAILYEPOCHINCREMENT = 3600 * 24
    • Set THISWEEK = {TODAYEPOCH - DAILYEPOCHINCREMENT*4} {TODAYEPOCH - DAILYEPOCHINCREMENT*3} {TODAYEPOCH - DAILYEPOCHINCREMENT*2} {TODAYEPOCH - DAILYEPOCHINCREMENT*1} {TODAYEPOCH} {TODAYEPOCH + DAILYEPOCHINCREMENT*1} {TODAYEPOCH + DAILYEPOCHINCREMENT*2} {TODAYEPOCH + DAILYEPOCHINCREMENT*3} {TODAYEPOCH + DAILYEPOCHINCREMENT*4}

Should result in:

06Nov2008 07Nov2008 08Nov2008 09Nov2008 10Nov2008 11Nov2008 12Nov2008 13Nov2008

Environment

TWiki version: TWikiRelease04x02x01
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Documentation

-- TWikiGuest - 10 Nov 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Looks like a timeline. You may want to check EasyTimelinePlugin and TimelinePlugin.

-- EnriqueCadalso - 12 Nov 2008

It looks like you can achieve that with %CALC{}% of the pre-installed SpreadSheetPlugin. Look for $FORMATTIME(), $TIME(), $TIMEADD(), $TIMEDIFF(). Use mid-day to avoid rounding errors on summer savings time change.

-- PeterThoeny - 02 Jan 2009

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-01-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.