Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Mac Community > Picture Gallery > UI Customization

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 8, 2012, 09:32 AM   #1
brocato
macrumors newbie
 
Join Date: Nov 2012
GeekTool: How to show count of weeks from a given date?

Hi guys,

recently tried GeekTool and find it pretty cool. looking for a script that will show a week number count starting from a specific date (for example dec 1st, 2012) with the week number going up every 7 days. any help is appreciated.

Thanks!
brocato is offline   0 Reply With Quote
Old Nov 8, 2012, 09:41 AM   #2
GimmeSlack12
macrumors 603
 
GimmeSlack12's Avatar
 
Join Date: Apr 2005
Location: San Francisco
I imagine you should be able to google this answer. You just need to find out the terminal command to give you the number of the day of this year and divide that by 7.
__________________
iMac 24" iBook G4 iPhone 4 iPod 80Gb
GimmeSlack12 is offline   0 Reply With Quote
Old Nov 8, 2012, 09:50 AM   #3
brocato
Thread Starter
macrumors newbie
 
Join Date: Nov 2012
I have been looking all over the internet in that past few days. the closest thing I found was a countdown command to a specific date but I'm not familiar enough with the code to tweak it for what I want

Found it:

took the yearly week count (date +%V) and subtracted the number of weeks to start from my desired date.

Last edited by SilentPanda; Nov 9, 2012 at 09:23 AM. Reason: post merge
brocato is offline   0 Reply With Quote

Reply
MacRumors Forums > Mac Community > Picture Gallery > UI Customization

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Always show Badge Count letgrab Mac Programming 2 Nov 26, 2013 11:23 PM
Brand New Retina MBP w/ 9 cycles count, 2 weeks old... maccuser MacBook Pro 38 Mar 4, 2013 05:06 AM
The iPad Mini just pushed my delivery date by 4 weeks Giuly iPhone 8 Oct 24, 2012 06:51 AM
Show Date Dawkito iPhone Tips, Help and Troubleshooting 1 Oct 21, 2012 09:41 AM
iPod touch shipping date changed to Two weeks on Apple.com mwxiao iPod touch 2 Oct 11, 2012 05:02 PM

Forum Jump

All times are GMT -5. The time now is 04:22 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC