• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Weekly Statistics

MattW

Well-known member
#8
@Brogan & @Mike

UTC or BST?

All my servers are running BST

Code:
z22se@z22se.co.uk [~/scripts]# date
Tue Jul 16 09:58:31 BST 2013

matt@Matt-PC:/etc$ date
Tue Jul 16 09:58:19 BST 2013

[mworthington@air-inocapps1 ~]$ date
Tue Jul 16 09:58:41 BST 2013
Wonder if that might be the issue?
 

rellek

Well-known member
#11
Is this maybe a problem with time zones? I just hit

root@cyberdyne2:~$ date +%W
28
root@cyberdyne2:~$

where my OS X Calendar says, we're in week 29. Which is kinda funny, because the same command under OS X returns 28 as well.

Edit:
and Dec 31 2012 was week 53, according to my linux server.

root@cyberdyne2:~$ date -d20121231 +%W
53
root@cyberdyne2:~$