Re: Time math
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45646
interpreted = N
texte = Remove the ttime parameter in the math tag.You can also try converting the accesstime before writing it to thedatabase.[math]{[accesstime]}[/math]When I take a converted number38751and subtract it from the current time I get the seconds.[math]{[time]}-38751[/math]Ron----- Original Message -----From: WJ Starck
To: WebCatalog Talk Sent: Friday, November 22, 2002 10:16 AMSubject: Time math>> I need to know the interval in seconds between two times, [time] (the> current time) and [accesstime], which is written to a db whenever a> page is accessed.>> [math time]{[time]}-{[accesstime]}[/math]>> Gives me the time in HH:MM:SS>>>> Because I want to do:>> [showif [current time]-[accesstime]<600 seconds]>> So a template will only show activity for the last 10 minutes>> How do I get seconds so my showif will work?>> Thanks,>> -Will>>> -------------------------------------------------------------> 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:
Remove the ttime parameter in the math tag.You can also try converting the accesstime before writing it to thedatabase.[math]{[accesstime]}[/math]When I take a converted number38751and subtract it from the current time I get the seconds.[math]{[time]}-38751[/math]Ron----- Original Message -----From: WJ Starck To: WebCatalog Talk Sent: Friday, November 22, 2002 10:16 AMSubject: Time math>> I need to know the interval in seconds between two times, [time] (the> current time) and [accesstime], which is written to a db whenever a> page is accessed.>> [math time]{[time]}-{[accesstime]}[/math]>> Gives me the time in HH:MM:SS>>>> Because I want to do:>> [showif [current time]-[accesstime]<600 seconds]>> So a template will only show activity for the last 10 minutes>> How do I get seconds so my showif will work?>> Thanks,>> -Will>>> -------------------------------------------------------------> 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/
Inkblot Media
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:
Multiple Newcarts (1996)
all records returned. (1997)
WebDNA Feature Request (2006)
Not really WebCat- (1997)
Problems passing [SKU] with $Replace in 2.0 (1997)
RE: [shownext] support - MacOS (1997)
Resume Catalog ? (1997)
BR (1997)
Re:Searching for ALL / empty form field (1997)
No spaces allowed in text variable names ... ? (2002)
OT : Best book for OSX (2002)
Navigator 4.01 (1997)
Protecting Files (how to display vs. present a link to (2005)
[OT] Any perl gurus out there? (2006)
Need WebDNA database programmer (2001)
Fun with dates (1997)
WebDNA-Talk Digest mode broken (1997)
WebCatalog 4 Install Problems - Not Answered ?? (2000)
Emailer setup (1997)
WebCatalog dying in WebTen (1998)