Re: Likelihood of a duplicate (Palle you around?)
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62238
interpreted = N
texte = That's the one :) Thanks, man.-DanOn Wed, 15 Jun 2005 10:41:02 -0700 "WebDna @ Inkblot Media"
wrote:> You mean this little snippet of logic =D> ------------ START SNIPPET ----------------> [!]--EDITABLE--[/!]> [text multi=T]offset=-9&your_cart=[cart][!]or whatever cart# you're trying to reverse[/!][/text]> [!]--END EDITABLE--[/!]> > [text show=f]offset_in_seconds=[math][offset]*3600[/math][/text]> [text show=f]offset_as_time=[math time]offset_in_seconds[/math][/text]> [text show=f]scrubbed_cart=[getchars start=1&end=10][your_cart][/getchars][/text]> [text >show=f]days_since_epoch=[math]floor(([scrubbed_cart]+[offset_in_seconds])/86400)[/math][/text]> [text show=f]seconds_since_midnight=[Format >Seconds_To_Time][math][scrubbed_cart]%86400[/math][/format][/text]> > GET DATE & TIME FROM CART #[cart]:
> [math date]{1/1/1970}+{00/[days_since_epoch]/0000}[/math] -> [math time]{[seconds_since_midnight]}-{07:00:00}[/Math]> ------------------------ END SNIPPET --------------------------> > Good thing I have my own archive of emails!> > > ----- Original Message ----- From: "Dan Strong" > To: "WebDNA Talk" > Sent: Wednesday, June 15, 2005 10:22 AM> Subject: Re: Likelihood of a duplicate (Palle you around?)> > >> Close. Remember I reverse-engineered [cart] and it returned the date and >> time the cart was created? Search the archives for subject 'Cart -> Date >> and Time' and you'll see the discussion sans the posts where the code was >> actually posted (by me).>>>>>> On Wed, 15 Jun 2005 19:07:11 +0200>> "Palle B. Nielsen (PowerPalle)" wrote:>>> Hi Dan,>>>>>> Is it this one...?>>>>>> http://www.macnyt.dk:16080/sku/>>>>>> Palle>>>>>>>>> On 15/06/2005, at 17.41, Dan Strong wrote:>>>>>>> Can't find it... guess I thought it would live on in the archives.... >>>> Palle, if you're around, you were the one I was working on it with, do >>>> you still happen to have the code?>>>> -Dan>>>>>>>>>>>> On Wed, 15 Jun 2005 07:58:58 -0700>>>> "Dan Strong" wrote:>>>>>>>>> I'll have to dig it up... let me see what I can find. I can't see that >>>>> it's truly proprietary since it's just a derivative of the UNIX >>>>> timestamp..who knows. If I find it, I'll post it because it's useful.>>>>> -Dan>>>>> On Wed, 15 Jun 2005 07:53:24 -0400>>>>> Terry Wilson wrote:>>>>>>>>>>> Maybe they felt this was proprietary information? Please post it >>>>>> again!>>>>>>>>>>>>> From: "Dan Strong" >>>>>>> Subject: Re: Likelihood of a duplicate>>>>>>> Date: Tue, 14 Jun 2005 20:32:00 -0700>>>>>>> Message-ID: >>>>>>> Content-Type: text/plain; format="flowed">>>>>>> Content-Transfer-Encoding: 8bit>>>>>>>>>>>>>> Weird, it's not in the archives anymore... just to be sure I did a >>>>>>> search on all messages I'veever sent and when I found the thread >>>>>>> where my '[cart] hack' was it is not there. All it did >>>>>>> wasreverse-engineer a [cart] value into the date/time it was >>>>>>> created... did SM remove it?>>>>>>> -Dan>>>>>>>>>>>>> -- >>>>>> Terry Wilson | terry@terryfic.com | http://terryfic.com>>>>>> http://WhosComing.com - a simplified, affordable online reservation >>>>>> system>>>>>> http://WhosBringingWhat.com - online potluck signup sheet>>>>>> http://TightPods.com -- stylish protection for your laptop>>>>>> -------------------------------------------------------------------- >>>>>> ------>>>>>> ------------------------------------------------------------->>>>>> 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 >>>>> digest@talk.smithmicro.com>>>>>>> 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 >>>> digest@talk.smithmicro.com>>>>>> 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 >>> digest@talk.smithmicro.com>>>>> 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/ > > > -------------------------------------------------------------> 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/
Associated Messages, from the most recent to the oldest:
That's the one :) Thanks, man.-DanOn Wed, 15 Jun 2005 10:41:02 -0700 "WebDna @ Inkblot Media" wrote:> You mean this little snippet of logic =D> ------------ START SNIPPET ----------------> [!]--EDITABLE--[/!]> [text multi=T]offset=-9&your_cart=[cart][!]or whatever cart# you're trying to reverse[/!][/text]> [!]--END EDITABLE--[/!]> > [text show=f]offset_in_seconds=[math][offset]*3600[/math][/text]> [text show=f]offset_as_time=[math time]offset_in_seconds[/math][/text]> [text show=f]scrubbed_cart=[getchars start=1&end=10][your_cart][/getchars][/text]> [text >show=f]days_since_epoch=[math]floor(([scrubbed_cart]+[offset_in_seconds])/86400)[/math][/text]> [text show=f]seconds_since_midnight=[Format >Seconds_To_Time][math][scrubbed_cart]%86400[/math][/format][/text]> > GET DATE & TIME FROM CART #[cart]:
> [math date]{1/1/1970}+{00/[days_since_epoch]/0000}[/math] -> [math time]{[seconds_since_midnight]}-{07:00:00}[/Math]> ------------------------ END SNIPPET --------------------------> > Good thing I have my own archive of emails!> > > ----- Original Message ----- From: "Dan Strong" > To: "WebDNA Talk" > Sent: Wednesday, June 15, 2005 10:22 AM> Subject: Re: Likelihood of a duplicate (Palle you around?)> > >> Close. Remember I reverse-engineered [cart] and it returned the date and >> time the cart was created? Search the archives for subject 'Cart -> Date >> and Time' and you'll see the discussion sans the posts where the code was >> actually posted (by me).>>>>>> On Wed, 15 Jun 2005 19:07:11 +0200>> "Palle B. Nielsen (PowerPalle)" wrote:>>> Hi Dan,>>>>>> Is it this one...?>>>>>> http://www.macnyt.dk:16080/sku/>>>>>> Palle>>>>>>>>> On 15/06/2005, at 17.41, Dan Strong wrote:>>>>>>> Can't find it... guess I thought it would live on in the archives.... >>>> Palle, if you're around, you were the one I was working on it with, do >>>> you still happen to have the code?>>>> -Dan>>>>>>>>>>>> On Wed, 15 Jun 2005 07:58:58 -0700>>>> "Dan Strong" wrote:>>>>>>>>> I'll have to dig it up... let me see what I can find. I can't see that >>>>> it's truly proprietary since it's just a derivative of the UNIX >>>>> timestamp..who knows. If I find it, I'll post it because it's useful.>>>>> -Dan>>>>> On Wed, 15 Jun 2005 07:53:24 -0400>>>>> Terry Wilson wrote:>>>>>>>>>>> Maybe they felt this was proprietary information? Please post it >>>>>> again!>>>>>>>>>>>>> From: "Dan Strong" >>>>>>> Subject: Re: Likelihood of a duplicate>>>>>>> Date: Tue, 14 Jun 2005 20:32:00 -0700>>>>>>> Message-ID: >>>>>>> Content-Type: text/plain; format="flowed">>>>>>> Content-Transfer-Encoding: 8bit>>>>>>>>>>>>>> Weird, it's not in the archives anymore... just to be sure I did a >>>>>>> search on all messages I'veever sent and when I found the thread >>>>>>> where my '[cart] hack' was it is not there. All it did >>>>>>> wasreverse-engineer a [cart] value into the date/time it was >>>>>>> created... did SM remove it?>>>>>>> -Dan>>>>>>>>>>>>> -- >>>>>> Terry Wilson | terry@terryfic.com | http://terryfic.com>>>>>> http://WhosComing.com - a simplified, affordable online reservation >>>>>> system>>>>>> http://WhosBringingWhat.com - online potluck signup sheet>>>>>> http://TightPods.com -- stylish protection for your laptop>>>>>> -------------------------------------------------------------------- >>>>>> ------>>>>>> ------------------------------------------------------------->>>>>> 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 >>>>> digest@talk.smithmicro.com>>>>>>> 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 >>>> digest@talk.smithmicro.com>>>>>> 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 >>> digest@talk.smithmicro.com>>>>> 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/ > > > -------------------------------------------------------------> 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/
"Dan Strong"
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:
Anyone with a solution for this? (2001)
What am I missing (1997)
ShowIf variables (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
Append again (1999)
Showif for mulitple variations (1997)
Help name our technology! (1997)
multiple skus (2000)
WebCat using all my CPU on OS X Server (2001)
PSC recommends what date format yr 2000??? (1997)
Public beta 5 of WebCatalog 4.0 is now available (2000)
no time stamp & different times from emailer (1998)
form data submission gets truncated (1997)
Follow-up to listfiles bug report ... (2003)
Database access (2003)
$purchase vs [purchase] (1999)
Non-Cart Files in Shopping Cart Folder (1997)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
[format xs] freeze (1997)
[WebDNA] WebDNA news and projects (2014)