count down remaining days to event, but ignore events time of day. - Zooper Widget General

Ive been using the following command to show remaining days before event. ..
#C0STd#
However, if it is an all day event, for example, on a Thursday. By Tuesday it just says 1.
Meaning, 1 full day between mid Tuesday and 12 am Thursday.
What I want is for it to always show 2 days in this scenario.
At first, I thought just plus 1 to all events. But when the event is 8pm Thursday, it would say 3 days on Tuesday until 8pm and then 2. I want it to 2 all day.
So I guess I need it to ignore the time of the event and just count down the days of the events day.
Possible?

strewth78 said:
Ive been using the following command to show remaining days before event. ..
#C0STd#
However, if it is an all day event, for example, on a Thursday. By Tuesday it just says 1.
Meaning, 1 full day between mid Tuesday and 12 am Thursday.
What I want is for it to always show 2 days in this scenario.
At first, I thought just plus 1 to all events. But when the event is 8pm Thursday, it would say 3 days on Tuesday until 8pm and then 2. I want it to 2 all day.
So I guess I need it to ignore the time of the event and just count down the days of the events day.
Possible?
Click to expand...
Click to collapse
You can use the day of year to get a quick calculation of the days between,
$(#C0SD#-#DD#)$
Unfortunately, this won't work when crossing into the new year, so one can build it up a bit:
$(#C0SD#-#DD#+(#C0Syyyy#-#Dyyyy#)*365)$
Now adding a day in there if we are currently on a leap year.
$(#Dyyyy#%4)=0?(#C0SD#-#DD#+(#C0Syyyy#-#Dyyyy#)*366)#C0SD#-#DD#+(#C0Syyyy-#Dyyyy#)*365)$
That final one should work as long as the events are fairly close (within a month). For example, it will fail if the current date is 2015-12-30 and the next event is 2017-01-10 because it doesn't account for the leap year in 2016.

This all seemed a bit convoluted, so I came up with this new formula:
$(floor((#C0STm#+#DH#*60+#Dmm#)/60/24))$

strewth78 said:
Ive been using the following command to show remaining days before event. ..
#C0STd#
However, if it is an all day event, for example, on a Thursday. By Tuesday it just says 1.
Meaning, 1 full day between mid Tuesday and 12 am Thursday.
What I want is for it to always show 2 days in this scenario.
At first, I thought just plus 1 to all events. But when the event is 8pm Thursday, it would say 3 days on Tuesday until 8pm and then 2. I want it to 2 all day.
So I guess I need it to ignore the time of the event and just count down the days of the events day.
Possible?
Click to expand...
Click to collapse
So what was your final solution?

Related

Calendar question

Has anyone figured out how to have the htc calendar not only show a birthday/anniversary, but also their age/ # years? For example, Bob was born on 1/1/80. I can set up a reoccurring event to show his birthday every year, but not that he's 30 years old this year.
baileyjs said:
For example, Bob was born on 1/1/80. I can set up a reoccurring event to show his birthday every year, but not that he's 30 years old this year.
Click to expand...
Click to collapse
Actually I'm 37..

Need Help with a String

Hey everyone i'm trying to write out a string but i'm getting the wrong value returned and I don't know why. I want to have a rectangle change colors if the first event day of month, second event day of month, and third event day of month are the same AND the first event day of month is today. Right now my string is:
[c]$#C0Sd#=#C1Sd#&&#C1Sd#=C2Sd#&&#C0Sd#=#Dd#?#4affffff:#00ffffff$[/c]
and i'm getting [c]#00ffffff[/c] even though all of the event days are the same and the first event day of the month is today. Any help would be appreciated!
czonin said:
Hey everyone i'm trying to write out a string but i'm getting the wrong value returned and I don't know why. I want to have a rectangle change colors if the first event day of month, second event day of month, and third event day of month are the same AND the first event day of month is today. Right now my string is:
[c]$#C0Sd#=#C1Sd#&&#C1Sd#=C2Sd#&&#C0Sd#=#Dd#?#4affffff:#00ffffff$[/c]
and i'm getting [c]#00ffffff[/c] even though all of the event days are the same and the first event day of the month is today. Any help would be appreciated!
Click to expand...
Click to collapse
Looks like you're missing a # on #C2Sd# or is that just a typing error in your post?
Send from my secret moonbase via space carrier pigeons
kwerdenker said:
Looks like you're missing a # on #C2Sd# or is that just a typing error in your post?
Send from my secret moonbase via space carrier pigeons
Click to expand...
Click to collapse
Ya I realized that just as you answered, thanks! What I have been trying to get working is still running into issues. If you have some free time would you mind giving me a hand with it?
czonin said:
Hey everyone i'm trying to write out a string but i'm getting the wrong value returned and I don't know why. I want to have a rectangle change colors if the first event day of month, second event day of month, and third event day of month are the same AND the first event day of month is today. Right now my string is:
[c]$#C0Sd#=#C1Sd#&&#C1Sd#=C2Sd#&&#C0Sd#=#Dd#?#4affffff:#00ffffff$[/c]
and i'm getting [c]#00ffffff[/c] even though all of the event days are the same and the first event day of the month is today. Any help would be appreciated!
Click to expand...
Click to collapse
It looks like there is a little syntax error:
[c]$#C0Sd#==#C1Sd#&&#C1Sd#==C2Sd#&&#C0Sd#==#Dd#?#4affffff:#00ffffff$[/c]
What you were doing was stating #C0Sd# EQUALS #C1Sd# not asking -- IF #C0Sd# EQUALS #C1Sd#
A single = means this is going to equal that
A double = means does this equal that
If you want it to NOT equal then != or less than equal to <= etc...
Now, here is the other thing... If you are trying to use the [c] COLOR in markup text, then it is [c=#00ffffff]Your text[/c]
Let me know if that is what your looking for, I tried to duplicate it on mine, but it just shows #00ffffff
Good Luck

(Trade-in) Delivery Attempt Limbo

Shipped my Pixel XL back on time with 8 days in hand. It took 4 days to reach the local USPS. Now its in a Delivery Attempt limbo for the past couple days. Leaving me with only 3 days in hand to meet the 30 day mark. Looks like the company responsible for trade-in verification, Apto Solution is only open from 9:00am to 5:30pm M-F. Not sure how is this supposed to work under this circumstances.
USPS message: "Your item is being held at the Post Office in ATLANTA, GA 30318 on October 31, 2017 at 6:22 pm because the business was closed. The item will be delivered the next delivery day that the business is open. If this item is unclaimed after 15 days then it will be returned to the sender."
Anyone else in the same boat? Already sent a message to big G, awaiting on their replies. Any advice or idea will be appreciated. Although, don't think we can do a whole lot, even though the clock is ticking.
Hi
n3far1us said:
Shipped my Pixel XL back on time with 8 days in hand. It took 4 days to reach the local USPS. Now its in a Delivery Attempt limbo for the past couple days. Leaving me with only 3 days in hand to meet the 30 day mark. Looks like the company responsible for trade-in verification, Apto Solution is only open from 9:00am to 5:30pm M-F. Not sure how is this supposed to work under this circumstances.
USPS message: "Your item is being held at the Post Office in ATLANTA, GA 30318 on October 31, 2017 at 6:22 pm because the business was closed. The item will be delivered the next delivery day that the business is open. If this item is unclaimed after 15 days then it will be returned to the sender."
Anyone else in the same boat? Already sent a message to big G, awaiting on their replies. Any advice or idea will be appreciated. Although, don't think we can do a whole lot, even though the clock is ticking.
Click to expand...
Click to collapse
Hi,
I can't believe yours is exactly as mine, just checked about a half hour ago, my USPS update:
USPS message: "Your item is being held at the Post Office in ATLANTA, GA 30318 on October 31, 2017 at 6:22 pm because the business was closed. The item will be delivered the next delivery day that the business is open. If this item is unclaimed after 15 days then it will be returned to the sender."
This sounds a little weird to me!!!!
Ken
Same issue here
Seems that there are a lot of these issues, sent my pixel Xl on the 18 th of October. Same boat. The good news is we now have 50 days from the time we received our Pixel 2 XL
---------- Post added at 12:53 AM ---------- Previous post was at 12:24 AM ----------
Left an email with Apto Solutions, explaining the need for them to get the phones from the post office as they cannot be delivered during their hours. I explained it might be a lot of phones and people are getting upset.
Also left voicemail for them to call me.
I have the exact same delivery delay since the 22nd. Contacted Google twice and was promised a response but nothing, contacted them today and was given the run around but they did say this is an issue affecting many shipments. Guess they weren't lying.
Exact same shipping response here. Will call Google to see what's up. Mine has also said out for delivery 4 days in a row. Didn't give me the closed business until 10/31.
Same here, but this morning, it shows delivered as of yesterday afternoon. Also, keep in mind, it is 30 days from the day you accept delivery of your new device .. not 30 days from the start of the trade in process (at least through 12/31/17).
Through December 31, 2017, Trade-In Period means 30 calendar days from the date You receive a new device that you purchase when accepting the Initial Trade-In Quote through the Websites.
same boat here. mine's been in limbo since the 28th after a failed delivery attempt. no update on the usps website for my shipment since then. fortunately i have a bud who works for the usps so i'm having him get me a more up to date status report. will report back once i find something out.
Phone limbo
Spoke with a person at Apto Solutions, they are to advise the person over Google Trade In to contact the post office to get the phones from the Post Office or arrange delivery.
I was also told the phones are coming in by the 1000's and that they are being picked up by Apto.
I have a bad feeling about this 3rd party Apto...
galaxys said:
I have a bad feeling about this 3rd party Apto...
Click to expand...
Click to collapse
+1
Sent from my Pixel 2 XL using Tapatalk
Mine just finally said delivered today.
Mine's finally shows delivered yesterday. However, so far, no received notification from google. No change in Trade-in section of Google Store either.
galaxys said:
I have a bad feeling about this 3rd party Apto...
Click to expand...
Click to collapse
Agree..
Mines shows as delivered as of the 27th still Kno update from Google ... ?
Sent from my Pixel 2 XL using XDA-Developers Legacy app
Mine is at the usps Atl, 30318 delivery attempted 11-3-17 4:30 pm and the bogus place is closed.
On hold with project-fi right now and I'm p'd off. P'd off to the tune of $150.
This sounds like premeditated bullya!
Hyla is the company's name, the gal says (got her to spell it for me) my msg for a supervisor will get sent to one, but she doesn't know if one of them will call me back on Monday. Can't make the foreman reply if he doesn't want to, know `cause I was one.
WOW this is as bad as the dnc just getting caught rigging their 2016 primary!
Google is trusting a company in my region at least that isn't trustworthy enough to be open when the USPS tries to deliver peoples +/- $650.00 phones for a trade in. Trade in for $150 in my case and the tracking lookup says it's insured for $50. That is not enough if they lose or break my 6P that I was using successfully the day I wiped it and sent it to them.
---------- Post added at 09:00 PM ---------- Previous post was at 08:58 PM ----------
Apto, Hyla.........
CLASS ACTION
Ya don't F with someones money, their truck or their other half.
theres an issue with usps.. just give it time.. trade in shall be completed in a matter of days
I contacted Google about this same problem. My delivery was also in delivery limbo for 3-4 days until it finally arrived at the company doing the trade-ins. I asked about the value and they said your initial quote is what you will get as long as you sent it in with inthe 30 day period. 30 days being from the time you receive your Pixel 2 XL from Google. She also called the 3rd party company and informed me that they are very behind and it will take about 2 weeks~ for them to assess the trade in and apply the credit. Then it will take however many days it takes for your financial institution to credit your account. All we can really do is just wait as we are at the mercy of Google. My Pixel XL is in mint condition if they ding me I definitely will not deal with the Trade-In next year. Swappa probably will be faster and easier and probably will make the same or close to it.
No, the problem is with the entity that isn't even open for normal hours. Post office tried to deliver for us.
Yep, I thought alphabet was such a large corporation that they could handle the logistics of all this. I won't do the trade in with them ever again either.
Maybe they should have called BDO?
But if I get the shaft on this thing and someone with the time and where-with-all is fighting them I will sign up.
I'm not a litigious kind of person either, their ineptness to get this done (if it does get to the point of them reneging on my offer `cause they didn't get the 6P) just ticks me off!
I dropped off mine at the post office. It took 4 days to show
Last Friday: Delivery Attempt because business closed at 4:30 PM (Atlanta GA 30318)
I'm waiting for this week if it will be delivered
Sent from my Nexus 9 using Tapatalk
mxmarcus said:
I dropped off mine at the post office. It took 4 days to show
Last Friday: Delivery Attempt because business closed at 4:30 PM (Atlanta GA 30318)
I'm waiting for this week if it will be delivered
Sent from my Nexus 9 using Tapatalk
Click to expand...
Click to collapse
Samesies

Dispatch 11/29? Why so long?

Anyone order on 11/21 or 11/22 and have their dispatch/ delivery time be 9-10 days with the faster shipping option? That seems ridiculous.
Its probably because of the huge backorder on phones. OnePlus announced that they smashed their record of purchases with the 5T in 6hours from the Pre-order time. Meaning that they have less of a supply than demand, so expect to wait a bit. Once they get another batch of phones, I'm sure your dispatch time will be shortened. I ordered on 11/21 and my dispatch time is 11/29
My order was estimated delivered 29th but I have the phone on hand already
better than apples 2 to 3 months
I ordered on 11/21 and estimated arrival time was 11/24 but today the order is still not dispatched, if the phone not arrive on 24 I want the shipping refund
If a company makes you pay for shipping, it must have super priority. So disappointed
EasyDeath said:
...if the phone not arrive on 24 I want the shipping refund
If a company makes you pay for shipping, it must have super priority. So disappointed
Click to expand...
Click to collapse
That's not how it works. Paying for priority shipping does not mean your order gets put at the front of the line. It means that once the order is processed it will have a quicker shipping method used during transport, a tracking number, etc.
I ordered on 21/11 and o have received next-day morning before 11 am, because I choosed 50rs extra for fast delivery
tommy_riley said:
That's not how it works. Paying for priority shipping does not mean your order gets put at the front of the line. It means that once the order is processed it will have a quicker shipping method used during transport, a tracking number, etc.
Click to expand...
Click to collapse
my order was processed after 1 minute, and still not shipped
Ordered on 22 November. Estimated dispatch on 27 November
That is for Germany.
This is getting a little amusing with the Black Friday thing that is up on the OP site right now. So they have free shipping and discounted accessories only on launch day, with Black Friday sales coming literally 3 days later. So instead of just leaving those in place through the weekend, they do it for one day, and then have the people who didn't buy it on day 1 have to wait a week to even have it shipped. I feel like the OP5 was handled better than this. None of this seems to make sense from a marketing perspective. I also hate my backup phone, so that's part of it.
xgerryx said:
This is getting a little amusing with the Black Friday thing that is up on the OP site right now. So they have free shipping and discounted accessories only on launch day, with Black Friday sales coming literally 3 days later. So instead of just leaving those in place through the weekend, they do it for one day, and then have the people who didn't buy it on day 1 have to wait a week to even have it shipped. I feel like the OP5 was handled better than this. None of this seems to make sense from a marketing perspective. I also hate my backup phone, so that's part of it.
Click to expand...
Click to collapse
OnePlus broke their own record for day one sales. It's their best launch to date. Of course the dispatch date is going to get a bit delayed. They are fulfilling and shipping orders as fast as they can. Folks who decided to wait should be cognizant of the fact that if they did not pull the trigger and get up early to order as soon as it went live, then there was a potential wait until the initial surge died down.
To me it makes good sense - get day one surge in s
Sales, then get another surge just three days later on Black Friday. Each with their own incentives on those days to lure potential customers/sales surges twice in one week. To me that seems to make the most sense from a marketing perspective. Just my opinion though...
Luckily mine will be here tomorrow (24th). I ordered on launch day (like 9:10am!). I chose the $9.99 expedited shipping option because if I didn't it would have arrived after the weekend (like 11/27 or 11/28). That would have sucked.
Expedited shipping is essentially that. Faster shipping, not faster processing or dispatching.
tommy_riley said:
OnePlus broke their own record for day one sales. It's their best launch to date. Of course the dispatch date is going to get a bit delayed. They are fulfilling and shipping orders as fast as they can. Folks who decided to wait should be cognizant of the fact that if they did not pull the trigger and get up early to order as soon as it went live, then there was a potential wait until the initial surge died down.
To me it makes good sense - get day one surge in s
Sales, then get another surge just three days later on Black Friday. Each with their own incentives on those days to lure potential customers/sales surges twice in one week. To me that seems to make the most sense from a marketing perspective. Just my opinion though...
Click to expand...
Click to collapse
This makes sense to a point. I dunno, after my experience with the OP5, this was just disappointing to me personally I guess. Oh well, It'll get here eventually.
Ordered 5T 8gb model on 21st and got it 23rd morn from Amazon courier
Sent from my ONEPLUS A5010 using Tapatalk

Question Canadian waitlist/pre-booking - How quickly is it moving?

I did see the general waitlist section to get some idea about this, but since I found nothing there I thought of starting a new thread.
I placed an order on August 26 during the Canadian unboxing (is this what it was called?) event. I thought they'll offer some added incentive(s) during the event, so I waited. While I did get an additional discount by waiting, the customer service is now claiming it'll be at least 5-6 weeks before the product is shipped. Is this a general response from them or is it ACTUALLY taking a month and a half for Samsung to ship the device?
The reason I'm asking this is I'll probably cancel my order and get one from Amazon which is delivering in a couple of days. I'll lose out on all the pre-launch benefits, but patience isn't my strongest suit
Cheers guys!
Roy
Did you order directly from Samsung Canada?
I ordered mine on the 21st, and it was in my hands on the 23rd.
GibMcFragger said:
Did you order directly from Samsung Canada?
I ordered mine on the 21st, and it was in my hands on the 23rd.
Click to expand...
Click to collapse
Hi! Yes directly from Samsung Canada. I placed two different orders - one for Fold 4 and Watch 5 and a second one for a grip case. The grip case is stuck in "Preparing for Dispatch" and the Fold 4 order is stuck in "Processing".
Interesting. Which color and what storage did you pick? I went with 512GB Black.
Maybe the other colors are in short supply. That's usually the issue. They make tons of black ones, as that's what all the carriers usually order.
PS. It's a great device. The little bit of extra width to the cover display (over the Fold 3) makes so much difference in usability.
Battery life is also excellent, and it doesn't randomly get as hot as a toaster like my S22U did.
GibMcFragger said:
Interesting. Which color and what storage did you pick? I went with 512GB Black.
Maybe the other colors are in short supply. That's usually the issue. They make tons of black ones, as that's what all the carriers usually order.
PS. It's a great device. The little bit of extra width to the cover display (over the Fold 3) makes so much difference in usability.
Battery life is also excellent, and it doesn't randomly get as hot as a toaster like my S22U did.
Click to expand...
Click to collapse
I went with the Grey-Green one. I was thinking strategically and was leaning towards the black one because of the same logic that you mentioned, but I gave in and went with the grey-green one as I personally think it looks great. Then again I honestly don't think it'll make a difference to me as my phone is always inside a case!
I will wait for another day or two and then go for the black one if I don't see any movement on my current order. I've been hearing too many awesome things to wait for 5-6 weeks!
Hey,
Just adding to the thread. I order a grey green 512 on August 23rd, Confirmation on the 24th that my order was accepted.
There was no 4-5 week wait period when I ordered. It typically tells you when you look at the cart what the wait time will be.
My order has been stuck at processing ever since. I called Samsung last night after have 3 live chat's with them where they all gave me different information.
Basically, I've been told that my order is stuck in processing because there is a 4-5 week wait now. I tried explaining to them that when I ordered, there was no such wait indicated. For sure there is now, but I bought and was confirmed before the preorder ended on Aug 26th.
So I have an open ticket where they are supposed to get back to me with an exact shipping date. Should have an answer today or tomorrow.
This whole purchase from Samsung online has been a total nightmare.
Big_Totoro said:
Hey,
Just adding to the thread. I order a grey green 512 on August 23rd, Confirmation on the 24th that my order was accepted.
There was no 4-5 week wait period when I ordered. It typically tells you when you look at the cart what the wait time will be.
My order has been stuck at processing ever since. I called Samsung last night after have 3 live chat's with them where they all gave me different information.
Basically, I've been told that my order is stuck in processing because there is a 4-5 week wait now. I tried explaining to them that when I ordered, there was no such wait indicated. For sure there is now, but I bought and was confirmed before the preorder ended on Aug 26th.
So I have an open ticket where they are supposed to get back to me with an exact shipping date. Should have an answer today or tomorrow.
This whole purchase from Samsung online has been a total nightmare.
Click to expand...
Click to collapse
This pretty much captures my experience. I have received the following responses from the live chat reps:
1. There's a wait of 5-6 weeks.
2. The 5-6 weeks wait is only for the "Samsung Store Exclusive" colours of the Fold and my order will be shipped by this weekend.
3. My order is taking a while since the Watch 5 I've ordered is a bespoke model, so it'll take 3-4 weeks and the Fold will be shipped by this weekend.
I've received these 3 answers from 4 different reps since today morning. I don't believe a word that's coming from them any more. I'll wait till this weekend and raise a ticket if nothing moves by then.
I'm curious, which colour of the Fold did you order?
abysstheking said:
I'm curious, which colour of the Fold did you order?
Click to expand...
Click to collapse
Grey/Green as per my post above.
Big_Totoro said:
Grey/Green as per my post above.
Click to expand...
Click to collapse
Ah my bad. Missed the very first line!
This is what I'm considering to do. I'll wait till the weekend and if nothing moves then I'll place a second order, this time for the black one. If the second order moves, I'll cancel the first one. If the second also stays stuck then I'll stick with the first order.
Big_Totoro said:
Whole purchase from Samsung online has been a total nightmare.
Click to expand...
Click to collapse
Update: I lost my patience with these guys last night and I placed the second order. It's already moved to "Preparing for Dispatch", so I cancelled the original order today morning. I went for the black Fold this time.

Categories

Resources