Re: Cart -> Date and Time

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55679
interpreted = N
texte = Well please try this page which I have just set up. It shows the current CART value and the Unix Time Stamp calculated by the algorithm shown on the page... See the similarity??? Should be possible to extract the date and time from the SKU shouldn't it? Palle On 24/1-2004, at 19.57, Dan Strong wrote: > Palle, > > I've always been under the impression that the cart algorithm was > proprietary, just like the 'best-match' [search] function -- meaning > it was written by Grant, and owned by SM. I'm not saying it's > impossible to figure out, but I don't think it's going to be easy, and > my unsolicited advice would be to write your own cart-algo and use it > moving forward (I know that doesn't help you with past carts...) > > I have a cart algo that I got from Alain that works wonderfully, but > I'm not sure if I have permission to post it, so I'll wait on word > from Alain before (if?) I do.. > > -Dan > ------------------------------------------------------------ > http://www.StrongGraphicDesign.com > http://www.SearchBoise.com > ------------------------------------------------------------ > > > > On Sat, 24 Jan 2004 19:43:26 +0100 > Palle Bo Nielsen wrote: >> Okay let me simplify... >> >> When I put the [cart] tag in a template it generates a value. Let's >> say <10749685891852840> >> >> Within this value <10749685891852840> there is some kind of time >> stamp and I want to reverse engineer this value <10749685891852840> >> into the date and time like [mm/dd/yyyy] and [hh:mm:dd]. >> >> What I know by now is the fact that the cart value is very similar to >> the Unix timestamp so somehow it can be reverse engineered. >> >> Any help...? >> >> Palle >> >> >> >> >> On 24/1-2004, at 19.38, WebDna @ Inkblot Media wrote: >> >>> I see a flaw in my logic. That would only work if they placed an >>> Order. Not >>> upon cart creation. I will shut up now. >>> >>> >>> ----- Original Message ----- >>> From: "WebDna @ Inkblot Media" >>> To: "WebDNA Talk" >>> Sent: Saturday, January 24, 2004 10:34 AM >>> Subject: Re: Cart -> Date and Time >>> >>> >>>> Intruder! :) >>>> >>>> That is why I asked though. He never said what he was trying to do >>>> and >>> since >>>> I have a habit of over complicating things I thought that he may >>>> not want >>>> anything more than time and date of creation. And how can you >>>> intrude on a >>>> talk-list? ;) >>>> >>>> And I just received the email from Palel with his reasoning. >>>> >>>>> I am looking for the date and time the cart value was made. It is >>>>> not >>>>> to be used in conjunction with any files, so I can't grab the >>>>> lastmod >>>>> info or anything like that. >>>> >>>> No matter how you do this you have to place the script into a >>>> template and >>>> execute it. So you could write a simple search to look at the >>>> Orders.db >>> and >>>> get the Date and Time fields based on a specific cart #. >>>> >>>> Or am I wrong? That would not be a first! ;) >>>> >>>> Ron >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Dan Strong" >>>> To: "WebDNA Talk" >>>> Sent: Saturday, January 24, 2004 10:18 AM >>>> Subject: Re: Cart -> Date and Time >>>> >>>> >>>>> Ron, >>>>> >>>>> I know you're not talking to me, and I apologize for the >>>>> intrusion, but >>>> I'm going to guess that if >>>>> he wanted to know that he could just look at the mod date on the >>>>> cart >>>> file, or in the order file >>>>> or whatever... I'm thinking he actually wants to run some reverse >>>>> logic >>> on >>>> a cart number and >>>>> produce a date/time from it... >>>>> -Dan >>>>> >>>>> >>>>> On Sat, 24 Jan 2004 10:05:24 -0800 >>>>> "WebDna @ Inkblot Media" wrote: >>>>>> Are you looking for the date and time the cart was made? >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: "Palle Bo Nielsen" >>>>>> To: "WebDNA Talk" >>>>>> Sent: Saturday, January 24, 2004 9:25 AM >>>>>> Subject: Cart -> Date and Time >>>>>> >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> Any one got a code snippet which coverts a CART value into Date >>>>>>> (mm/dd/yyyy) and Time (hh:mm:ss) ?? >>>>>>> >>>>>>> Palle >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------- >>>>>>> This message is sent to you because you are subscribed to >>>>>>> the mailing list . >>>>>>> To unsubscribe, E-mail to: >>>>>>> To switch to the DIGEST mode, E-mail to >>>>>> >>>>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>>>> >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> This message is sent to you because you are subscribed to >>>>>> the mailing list . >>>>>> To unsubscribe, E-mail to: >>>>>> To switch to the DIGEST mode, E-mail to >>>> >>>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>>> >>>>> ------------------------------------------------------------ >>>>> http://www.StrongGraphicDesign.com >>>>> http://www.SearchBoise.com >>>>> ------------------------------------------------------------ >>>>> >>>>> ------------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>>> To switch to the DIGEST mode, E-mail to >>>> >>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>> >>>> >>>> ------------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> To switch to the DIGEST mode, E-mail to >>> >>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >> >> -- >> Venlig hilsen >> Palle B. Nielsen (PowerPalle) >> http://www.macnyt.dk/ >> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > -- Venlig hilsen Palle B. Nielsen (PowerPalle) http://www.macnyt.dk/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Cart -> Date and Time ( "Dan Strong" 2004)
  2. Re: Cart -> Date and Time ( Palle Bo Nielsen 2004)
  3. Re: Cart -> Date and Time ( Palle Bo Nielsen 2004)
  4. Re: Cart -> Date and Time ( "Dan Strong" 2004)
  5. Re: Cart -> Date and Time ( "Dan Strong" 2004)
  6. Re: Cart -> Date and Time ( Alain Russell 2004)
  7. Re: Cart -> Date and Time ( Donovan Brooke 2004)
  8. Re: Cart -> Date and Time ( "Dan Strong" 2004)
  9. Re: Cart -> Date and Time ( Palle Bo Nielsen 2004)
  10. Re: Cart -> Date and Time ( Donovan Brooke 2004)
  11. Re: Cart -> Date and Time ( "WebDna @ Inkblot Media" 2004)
  12. Re: Cart -> Date and Time ( "WebDna @ Inkblot Media" 2004)
  13. Re: Cart -> Date and Time ( Palle Bo Nielsen 2004)
  14. Re: Cart -> Date and Time ( "Dan Strong" 2004)
  15. Re: Cart -> Date and Time ( "WebDna @ Inkblot Media" 2004)
  16. Re: Cart -> Date and Time ( "Dan Strong" 2004)
  17. Re: Cart -> Date and Time ( "Dan Strong" 2004)
  18. Cart -> Date and Time ( Palle Bo Nielsen 2004)
Well please try this page which I have just set up. It shows the current CART value and the Unix Time Stamp calculated by the algorithm shown on the page... See the similarity??? Should be possible to extract the date and time from the SKU shouldn't it? Palle On 24/1-2004, at 19.57, Dan Strong wrote: > Palle, > > I've always been under the impression that the cart algorithm was > proprietary, just like the 'best-match' [search] function -- meaning > it was written by Grant, and owned by SM. I'm not saying it's > impossible to figure out, but I don't think it's going to be easy, and > my unsolicited advice would be to write your own cart-algo and use it > moving forward (I know that doesn't help you with past carts...) > > I have a cart algo that I got from Alain that works wonderfully, but > I'm not sure if I have permission to post it, so I'll wait on word > from Alain before (if?) I do.. > > -Dan > ------------------------------------------------------------ > http://www.StrongGraphicDesign.com > http://www.SearchBoise.com > ------------------------------------------------------------ > > > > On Sat, 24 Jan 2004 19:43:26 +0100 > Palle Bo Nielsen wrote: >> Okay let me simplify... >> >> When I put the [cart] tag in a template it generates a value. Let's >> say <10749685891852840> >> >> Within this value <10749685891852840> there is some kind of time >> stamp and I want to reverse engineer this value <10749685891852840> >> into the date and time like [mm/dd/yyyy] and [hh:mm:dd]. >> >> What I know by now is the fact that the cart value is very similar to >> the Unix timestamp so somehow it can be reverse engineered. >> >> Any help...? >> >> Palle >> >> >> >> >> On 24/1-2004, at 19.38, WebDna @ Inkblot Media wrote: >> >>> I see a flaw in my logic. That would only work if they placed an >>> Order. Not >>> upon cart creation. I will shut up now. >>> >>> >>> ----- Original Message ----- >>> From: "WebDna @ Inkblot Media" >>> To: "WebDNA Talk" >>> Sent: Saturday, January 24, 2004 10:34 AM >>> Subject: Re: Cart -> Date and Time >>> >>> >>>> Intruder! :) >>>> >>>> That is why I asked though. He never said what he was trying to do >>>> and >>> since >>>> I have a habit of over complicating things I thought that he may >>>> not want >>>> anything more than time and date of creation. And how can you >>>> intrude on a >>>> talk-list? ;) >>>> >>>> And I just received the email from Palel with his reasoning. >>>> >>>>> I am looking for the date and time the cart value was made. It is >>>>> not >>>>> to be used in conjunction with any files, so I can't grab the >>>>> lastmod >>>>> info or anything like that. >>>> >>>> No matter how you do this you have to place the script into a >>>> template and >>>> execute it. So you could write a simple search to look at the >>>> Orders.db >>> and >>>> get the Date and Time fields based on a specific cart #. >>>> >>>> Or am I wrong? That would not be a first! ;) >>>> >>>> Ron >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: "Dan Strong" >>>> To: "WebDNA Talk" >>>> Sent: Saturday, January 24, 2004 10:18 AM >>>> Subject: Re: Cart -> Date and Time >>>> >>>> >>>>> Ron, >>>>> >>>>> I know you're not talking to me, and I apologize for the >>>>> intrusion, but >>>> I'm going to guess that if >>>>> he wanted to know that he could just look at the mod date on the >>>>> cart >>>> file, or in the order file >>>>> or whatever... I'm thinking he actually wants to run some reverse >>>>> logic >>> on >>>> a cart number and >>>>> produce a date/time from it... >>>>> -Dan >>>>> >>>>> >>>>> On Sat, 24 Jan 2004 10:05:24 -0800 >>>>> "WebDna @ Inkblot Media" wrote: >>>>>> Are you looking for the date and time the cart was made? >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: "Palle Bo Nielsen" >>>>>> To: "WebDNA Talk" >>>>>> Sent: Saturday, January 24, 2004 9:25 AM >>>>>> Subject: Cart -> Date and Time >>>>>> >>>>>> >>>>>>> Hi all, >>>>>>> >>>>>>> Any one got a code snippet which coverts a CART value into Date >>>>>>> (mm/dd/yyyy) and Time (hh:mm:ss) ?? >>>>>>> >>>>>>> Palle >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------- >>>>>>> This message is sent to you because you are subscribed to >>>>>>> the mailing list . >>>>>>> To unsubscribe, E-mail to: >>>>>>> To switch to the DIGEST mode, E-mail to >>>>>> >>>>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>>>> >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> This message is sent to you because you are subscribed to >>>>>> the mailing list . >>>>>> To unsubscribe, E-mail to: >>>>>> To switch to the DIGEST mode, E-mail to >>>> >>>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>>> >>>>> ------------------------------------------------------------ >>>>> http://www.StrongGraphicDesign.com >>>>> http://www.SearchBoise.com >>>>> ------------------------------------------------------------ >>>>> >>>>> ------------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>>> To switch to the DIGEST mode, E-mail to >>>> >>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>> >>>> >>>> ------------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> To switch to the DIGEST mode, E-mail to >>> >>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >>> ------------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> To switch to the DIGEST mode, E-mail to >>> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >> >> -- >> Venlig hilsen >> Palle B. Nielsen (PowerPalle) >> http://www.macnyt.dk/ >> >> >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > -- Venlig hilsen Palle B. Nielsen (PowerPalle) http://www.macnyt.dk/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Palle Bo Nielsen

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

2nd try: possible to weight results of grouped fieldssearch? (1998) I think WebDNA-Talk died ... :( (1997) Weird Math and SV (1997) Just Testing (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Re:WebCat hosting sites? (1998) [WebDNA] My failed cPanel and WebDNA experience ... (2016) [listfiles] problems (1997) RAM variables (1997) Running 2 two WebCatalog.acgi's (1996) [returnraw] and form variables (1998) Email Set-Up? (1997) Search Question (2003) Loss in form (1998) [Announce] WebCatalog 3.0 Beta Program (1998) 4.x versions (2003) Where is eudora plugin? (1998) shipcost (1997) Listserver problem (1997) ShowNext for method=POST (1997)