Re: Week Weirdness
Well, it seems the proper state of affairs would be that CF reports 41 and Linux reports 40. So the CF instance that is reporting 40 is the one that is out of whack. Maybe that would be a good jumping off point. I have Railo running on Linux and Adobe CF running on Windows here, and they both report 41 for #week( now() )#. And my Linux instance reports 40 for date +%W. -- Josh On Tue, Oct 4, 2011 at 4:20 PM, Edward Chanter wrote: > > I suspect that one might be a throw-back to the Jurassic period but the > lack > of stone suggests Dell might have simply managed to construct a freak that > doesn't happen to be shaped like a lemon :) > > Me thinks running a magnet over the case and starting again would be a good > idea... lol > > > -Original Message- > > From: Michael Grant [mailto:mgr...@modus.bz] > > Sent: 05 October 2011 00:09 > > To: cf-talk > > Subject: Re: Week Weirdness > > > > > > Is the epoch of both servers identical? > > > > On Tue, Oct 4, 2011 at 7:05 PM, Edward Chanter > > wrote: > > > > > > > > They both use jrun, I didn't change it so they should both be exactly > > > the same. The servers are not 10 years old (fortunately) one is about > > > 2 years old and the other 4 :) > > > > > > > -Original Message- > > > > From: Jason Fisher [mailto:ja...@wanax.com] > > > > Sent: 04 October 2011 23:50 > > > > To: cf-talk > > > > Subject: Re: Week Weirdness > > > > > > > > > > > > I know the various JVM versions have had issues with DST settings in > > > > the past (like 10 years ago); do your 2 servers have the same JRE > > > > configured > > > for > > > > CF? > > > > > > > > > > > > > > > > On 10/4/2011 6:13 PM, Edward Chanter wrote: > > > > > Thinking about this on a more technical level, does anyone know > > > > > where CF ultimately derives the week number? When I enter #now()# > > > > > I assume that's the system time but when I do #week(now())# is > > > > > that the CF server taking #now()# and deriving the week or does it > > > > > get that from jrun or linux or does it work things out on its own? > > > > > What could make a CF 8.0.1 server on one linux machine say that > > > > > the exact same date/time/timezone is week 41 and every other CF > > > > > server that I know of > > > > say it's week 40? > > > > > > > > > > Why do I feel like an evil little [enter name of favourite nasty] > > > > > has decided to inhabit one of my servers? > > > > > > > > > > The explanation must be so simple that I will call myself an idiot > > > > > for not thinking about it when I do find out what it is > > > > > > > > > >> -Original Message- > > > > >> 1. Yes, exact same date and time > > > > >> 2. Yes both are set to timezone London and both report "BST" next > > > > >> to the time when I do a date command in linux 3. Yes in both > > > > >> cases I used "#week(now())#" to get the CF date and "date > > > > >> +%W" to get the linux date > > > > >> > > > > >> I've setup and configured quite a few CF linux servers and have > > > > >> only ever seen this happen on one machine. > > > > >> > > > > >> "Welcome to Weirdsville, population: me" :( > > > > >> > > > > >>> -Original Message- > > > > >>> Very odd indeed. It makes sense that linux and cf would differ > > > > >>> by 1, as cf > > > > >> is > > > > >>> 1-53. However it doesn't make any sense to me why cf would > > > > >>> return 40 on one and 41 on the other. Can you verify: > > > > >>> > > > > >>> 1) they are both the same server date? > > > > >>> 2) they are both the same timezone offset? > > > > >>> 3) they are both using CF's week() function to return the > integer? > > > > > > > > > > > > > > > > > > > > ~~~ > > > > ~~| > > > > Order the Adobe Coldfusion Anthology now! > > > > http://www.amazon
RE: Week Weirdness
I suspect that one might be a throw-back to the Jurassic period but the lack of stone suggests Dell might have simply managed to construct a freak that doesn't happen to be shaped like a lemon :) Me thinks running a magnet over the case and starting again would be a good idea... lol > -Original Message- > From: Michael Grant [mailto:mgr...@modus.bz] > Sent: 05 October 2011 00:09 > To: cf-talk > Subject: Re: Week Weirdness > > > Is the epoch of both servers identical? > > On Tue, Oct 4, 2011 at 7:05 PM, Edward Chanter > wrote: > > > > > They both use jrun, I didn't change it so they should both be exactly > > the same. The servers are not 10 years old (fortunately) one is about > > 2 years old and the other 4 :) > > > > > -Original Message- > > > From: Jason Fisher [mailto:ja...@wanax.com] > > > Sent: 04 October 2011 23:50 > > > To: cf-talk > > > Subject: Re: Week Weirdness > > > > > > > > > I know the various JVM versions have had issues with DST settings in > > > the past (like 10 years ago); do your 2 servers have the same JRE > > > configured > > for > > > CF? > > > > > > > > > > > > On 10/4/2011 6:13 PM, Edward Chanter wrote: > > > > Thinking about this on a more technical level, does anyone know > > > > where CF ultimately derives the week number? When I enter #now()# > > > > I assume that's the system time but when I do #week(now())# is > > > > that the CF server taking #now()# and deriving the week or does it > > > > get that from jrun or linux or does it work things out on its own? > > > > What could make a CF 8.0.1 server on one linux machine say that > > > > the exact same date/time/timezone is week 41 and every other CF > > > > server that I know of > > > say it's week 40? > > > > > > > > Why do I feel like an evil little [enter name of favourite nasty] > > > > has decided to inhabit one of my servers? > > > > > > > > The explanation must be so simple that I will call myself an idiot > > > > for not thinking about it when I do find out what it is > > > > > > > >> -Original Message- > > > >> 1. Yes, exact same date and time > > > >> 2. Yes both are set to timezone London and both report "BST" next > > > >> to the time when I do a date command in linux 3. Yes in both > > > >> cases I used "#week(now())#" to get the CF date and "date > > > >> +%W" to get the linux date > > > >> > > > >> I've setup and configured quite a few CF linux servers and have > > > >> only ever seen this happen on one machine. > > > >> > > > >> "Welcome to Weirdsville, population: me" :( > > > >> > > > >>> -Original Message- > > > >>> Very odd indeed. It makes sense that linux and cf would differ > > > >>> by 1, as cf > > > >> is > > > >>> 1-53. However it doesn't make any sense to me why cf would > > > >>> return 40 on one and 41 on the other. Can you verify: > > > >>> > > > >>> 1) they are both the same server date? > > > >>> 2) they are both the same timezone offset? > > > >>> 3) they are both using CF's week() function to return the integer? > > > > > > > > > > > > > > > ~~~ > > > ~~| > > > Order the Adobe Coldfusion Anthology now! > > > http://www.amazon.com/Adobe-Coldfusion- > > > Anthology/dp/1430272155/?tag=houseoffusion > > > Archive: http://www.houseoffusion.com/groups/cf- > > > talk/message.cfm/messageid:347917 > > > Subscription: > > > http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > > > Unsubscribe: http://www.houseoffusion.com/groups/cf- > > > talk/unsubscribe.cfm > > > > > > > > ~~~ > ~~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion- > Anthology/dp/1430272155/?tag=houseoffusion > Archive: http://www.houseoffusion.com/groups/cf- > talk/message.cfm/messageid:347922 > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: http://www.houseoffusion.com/groups/cf- > talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347923 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Week Weirdness
Is the epoch of both servers identical? On Tue, Oct 4, 2011 at 7:05 PM, Edward Chanter wrote: > > They both use jrun, I didn't change it so they should both be exactly the > same. The servers are not 10 years old (fortunately) one is about 2 years > old and the other 4 :) > > > -Original Message- > > From: Jason Fisher [mailto:ja...@wanax.com] > > Sent: 04 October 2011 23:50 > > To: cf-talk > > Subject: Re: Week Weirdness > > > > > > I know the various JVM versions have had issues with DST settings in the > > past (like 10 years ago); do your 2 servers have the same JRE configured > for > > CF? > > > > > > > > On 10/4/2011 6:13 PM, Edward Chanter wrote: > > > Thinking about this on a more technical level, does anyone know where > > > CF ultimately derives the week number? When I enter #now()# I assume > > > that's the system time but when I do #week(now())# is that the CF > > > server taking #now()# and deriving the week or does it get that from > > > jrun or linux or does it work things out on its own? What could make a > > > CF 8.0.1 server on one linux machine say that the exact same > > > date/time/timezone is week 41 and every other CF server that I know of > > say it's week 40? > > > > > > Why do I feel like an evil little [enter name of favourite nasty] has > > > decided to inhabit one of my servers? > > > > > > The explanation must be so simple that I will call myself an idiot for > > > not thinking about it when I do find out what it is > > > > > >> -Original Message- > > >> 1. Yes, exact same date and time > > >> 2. Yes both are set to timezone London and both report "BST" next to > > >> the time when I do a date command in linux 3. Yes in both cases I > > >> used "#week(now())#" to get the CF date and "date > > >> +%W" to get the linux date > > >> > > >> I've setup and configured quite a few CF linux servers and have only > > >> ever seen this happen on one machine. > > >> > > >> "Welcome to Weirdsville, population: me" :( > > >> > > >>> -Original Message- > > >>> Very odd indeed. It makes sense that linux and cf would differ by 1, > > >>> as cf > > >> is > > >>> 1-53. However it doesn't make any sense to me why cf would return 40 > > >>> on one and 41 on the other. Can you verify: > > >>> > > >>> 1) they are both the same server date? > > >>> 2) they are both the same timezone offset? > > >>> 3) they are both using CF's week() function to return the integer? > > > > > > > > > > ~~~ > > ~~| > > Order the Adobe Coldfusion Anthology now! > > http://www.amazon.com/Adobe-Coldfusion- > > Anthology/dp/1430272155/?tag=houseoffusion > > Archive: http://www.houseoffusion.com/groups/cf- > > talk/message.cfm/messageid:347917 > > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > > Unsubscribe: http://www.houseoffusion.com/groups/cf- > > talk/unsubscribe.cfm > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Week Weirdness
They both use jrun, I didn't change it so they should both be exactly the same. The servers are not 10 years old (fortunately) one is about 2 years old and the other 4 :) > -Original Message- > From: Jason Fisher [mailto:ja...@wanax.com] > Sent: 04 October 2011 23:50 > To: cf-talk > Subject: Re: Week Weirdness > > > I know the various JVM versions have had issues with DST settings in the > past (like 10 years ago); do your 2 servers have the same JRE configured for > CF? > > > > On 10/4/2011 6:13 PM, Edward Chanter wrote: > > Thinking about this on a more technical level, does anyone know where > > CF ultimately derives the week number? When I enter #now()# I assume > > that's the system time but when I do #week(now())# is that the CF > > server taking #now()# and deriving the week or does it get that from > > jrun or linux or does it work things out on its own? What could make a > > CF 8.0.1 server on one linux machine say that the exact same > > date/time/timezone is week 41 and every other CF server that I know of > say it's week 40? > > > > Why do I feel like an evil little [enter name of favourite nasty] has > > decided to inhabit one of my servers? > > > > The explanation must be so simple that I will call myself an idiot for > > not thinking about it when I do find out what it is > > > >> -Original Message- > >> 1. Yes, exact same date and time > >> 2. Yes both are set to timezone London and both report "BST" next to > >> the time when I do a date command in linux 3. Yes in both cases I > >> used "#week(now())#" to get the CF date and "date > >> +%W" to get the linux date > >> > >> I've setup and configured quite a few CF linux servers and have only > >> ever seen this happen on one machine. > >> > >> "Welcome to Weirdsville, population: me" :( > >> > >>> -Original Message- > >>> Very odd indeed. It makes sense that linux and cf would differ by 1, > >>> as cf > >> is > >>> 1-53. However it doesn't make any sense to me why cf would return 40 > >>> on one and 41 on the other. Can you verify: > >>> > >>> 1) they are both the same server date? > >>> 2) they are both the same timezone offset? > >>> 3) they are both using CF's week() function to return the integer? > > > > > > ~~~ > ~~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion- > Anthology/dp/1430272155/?tag=houseoffusion > Archive: http://www.houseoffusion.com/groups/cf- > talk/message.cfm/messageid:347917 > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: http://www.houseoffusion.com/groups/cf- > talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347920 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Week Weirdness
I know the various JVM versions have had issues with DST settings in the past (like 10 years ago); do your 2 servers have the same JRE configured for CF? On 10/4/2011 6:13 PM, Edward Chanter wrote: > Thinking about this on a more technical level, does anyone know where CF > ultimately derives the week number? When I enter #now()# I assume that's the > system time but when I do #week(now())# is that the CF server taking #now()# > and deriving the week or does it get that from jrun or linux or does it work > things out on its own? What could make a CF 8.0.1 server on one linux > machine say that the exact same date/time/timezone is week 41 and every > other CF server that I know of say it's week 40? > > Why do I feel like an evil little [enter name of favourite nasty] has > decided to inhabit one of my servers? > > The explanation must be so simple that I will call myself an idiot for not > thinking about it when I do find out what it is > >> -Original Message- >> 1. Yes, exact same date and time >> 2. Yes both are set to timezone London and both report "BST" next to the >> time when I do a date command in linux 3. Yes in both cases I used >> "#week(now())#" to get the CF date and "date >> +%W" to get the linux date >> >> I've setup and configured quite a few CF linux servers and have only ever >> seen this happen on one machine. >> >> "Welcome to Weirdsville, population: me" :( >> >>> -Original Message- >>> Very odd indeed. It makes sense that linux and cf would differ by 1, >>> as cf >> is >>> 1-53. However it doesn't make any sense to me why cf would return 40 >>> on one and 41 on the other. Can you verify: >>> >>> 1) they are both the same server date? >>> 2) they are both the same timezone offset? >>> 3) they are both using CF's week() function to return the integer? > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347917 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Week Weirdness
Thinking about this on a more technical level, does anyone know where CF ultimately derives the week number? When I enter #now()# I assume that's the system time but when I do #week(now())# is that the CF server taking #now()# and deriving the week or does it get that from jrun or linux or does it work things out on its own? What could make a CF 8.0.1 server on one linux machine say that the exact same date/time/timezone is week 41 and every other CF server that I know of say it's week 40? Why do I feel like an evil little [enter name of favourite nasty] has decided to inhabit one of my servers? The explanation must be so simple that I will call myself an idiot for not thinking about it when I do find out what it is > -Original Message- > 1. Yes, exact same date and time > 2. Yes both are set to timezone London and both report "BST" next to the > time when I do a date command in linux 3. Yes in both cases I used > "#week(now())#" to get the CF date and "date > +%W" to get the linux date > > I've setup and configured quite a few CF linux servers and have only ever > seen this happen on one machine. > > "Welcome to Weirdsville, population: me" :( > > > -Original Message- > > Very odd indeed. It makes sense that linux and cf would differ by 1, > > as cf > is > > 1-53. However it doesn't make any sense to me why cf would return 40 > > on one and 41 on the other. Can you verify: > > > > 1) they are both the same server date? > > 2) they are both the same timezone offset? > > 3) they are both using CF's week() function to return the integer? > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347913 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Week Weirdness
1. Yes, exact same date and time 2. Yes both are set to timezone London and both report "BST" next to the time when I do a date command in linux 3. Yes in both cases I used "#week(now())#" to get the CF date and "date +%W" to get the linux date I've setup and configured quite a few CF linux servers and have only ever seen this happen on one machine. "Welcome to Weirdsville, population: me" :( > -Original Message- > Very odd indeed. It makes sense that linux and cf would differ by 1, as cf is > 1-53. However it doesn't make any sense to me why cf would return 40 on > one and 41 on the other. Can you verify: > > 1) they are both the same server date? > 2) they are both the same timezone offset? > 3) they are both using CF's week() function to return the integer? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347900 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Week Weirdness
On 10/5/2011 12:15 AM, Drew Nathanson wrote: > > You might want to make sure that both machine are on the same time zone and > locale. If they are different, that would explain it. My linux server returns > 40. locale has nothing to do w/this. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347898 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Week Weirdness
You might want to make sure that both machine are on the same time zone and locale. If they are different, that would explain it. My linux server returns 40. -Drew >Very odd indeed. It makes sense that linux and cf would differ by 1, as cf >is 1-53. However it doesn't make any sense to me why cf would return 40 on >one and 41 on the other. Can you verify: > >1) they are both the same server date? >2) they are both the same timezone offset? >3) they are both using CF's week() function to return the integer? > > > > > >> >> Yes indeed :( >> >> > -Original Message- >> > Do both servers have the same version of CF? >> >> >> ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347897 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Week Weirdness
Yes indeed :( > -Original Message- > Do both servers have the same version of CF? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347890 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Week Weirdness
Very odd indeed. It makes sense that linux and cf would differ by 1, as cf is 1-53. However it doesn't make any sense to me why cf would return 40 on one and 41 on the other. Can you verify: 1) they are both the same server date? 2) they are both the same timezone offset? 3) they are both using CF's week() function to return the integer? On Tue, Oct 4, 2011 at 12:08 PM, Edward Chanter wrote: > > Yes indeed :( > > > -Original Message- > > Do both servers have the same version of CF? > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347893 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Week Weirdness
Do both servers have the same version of CF? On Tue, Oct 4, 2011 at 11:53 AM, Edward Chanter wrote: > > According to the docs it's 0 > > The weird thing is that I have 2 servers running the same version of linux > and on one they both say 40 and on the other I get the discrepancy between > linux and CF. > > > -Original Message- > > From: Michael Grant [mailto:mgr...@modus.bz] > > Sent: 04 October 2011 16:51 > > To: cf-talk > > Subject: Re: Week Weirdness > > > > > > Does linux use zero (0) as week one? > > > > > > On Tue, Oct 4, 2011 at 11:47 AM, Edward Chanter > > wrote: > > > > > > > > Hey all, > > > > > > Has anyone ever had a CF server's week number get out of sync with the > > > server? > > > > > > When I run #week(now())# in Cf I get "41" but when I run the comman in > > > linux "date +%W" I get 40 > > > > > > It's causing all sorts of problems when pulling week based data from > > > the dbase. > > > > > > Does anyone know how I get them to sync up again? This is really weird. > > > > > > Thanks in advance > > > > > > -= Ed > > > > > > > > > > > > > > > > > > > ~~ > > ~~~| > > Order the Adobe Coldfusion Anthology now! > > http://www.amazon.com/Adobe-Coldfusion- > > Anthology/dp/1430272155/?tag=houseoffusion > > Archive: http://www.houseoffusion.com/groups/cf- > > talk/message.cfm/messageid:347887 > > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > > Unsubscribe: http://www.houseoffusion.com/groups/cf- > > talk/unsubscribe.cfm > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347889 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Week Weirdness
According to the docs it's 0 The weird thing is that I have 2 servers running the same version of linux and on one they both say 40 and on the other I get the discrepancy between linux and CF. > -Original Message- > From: Michael Grant [mailto:mgr...@modus.bz] > Sent: 04 October 2011 16:51 > To: cf-talk > Subject: Re: Week Weirdness > > > Does linux use zero (0) as week one? > > > On Tue, Oct 4, 2011 at 11:47 AM, Edward Chanter > wrote: > > > > > Hey all, > > > > Has anyone ever had a CF server's week number get out of sync with the > > server? > > > > When I run #week(now())# in Cf I get "41" but when I run the comman in > > linux "date +%W" I get 40 > > > > It's causing all sorts of problems when pulling week based data from > > the dbase. > > > > Does anyone know how I get them to sync up again? This is really weird. > > > > Thanks in advance > > > > -= Ed > > > > > > > > > > > > ~~ > ~~~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion- > Anthology/dp/1430272155/?tag=houseoffusion > Archive: http://www.houseoffusion.com/groups/cf- > talk/message.cfm/messageid:347887 > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: http://www.houseoffusion.com/groups/cf- > talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347888 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Week Weirdness
Does linux use zero (0) as week one? On Tue, Oct 4, 2011 at 11:47 AM, Edward Chanter wrote: > > Hey all, > > Has anyone ever had a CF server's week number get out of sync with the > server? > > When I run #week(now())# in Cf I get "41" but when I run the comman in > linux > "date +%W" I get 40 > > It's causing all sorts of problems when pulling week based data from the > dbase. > > Does anyone know how I get them to sync up again? This is really weird. > > Thanks in advance > > -= Ed > > > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347887 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Week Weirdness
Hey all, Has anyone ever had a CF server's week number get out of sync with the server? When I run #week(now())# in Cf I get "41" but when I run the comman in linux "date +%W" I get 40 It's causing all sorts of problems when pulling week based data from the dbase. Does anyone know how I get them to sync up again? This is really weird. Thanks in advance -= Ed ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347885 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm