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:
[WebDNA] maybe silly suggestion? [founditems] (2015)
Explorer 3.0/ Access Denied! (1997)
Help with Shipping Costs (1997)
Server Freeze (1998)
Problem with Showif & Applescript (1997)
Can I invoke an ssi plugin from within a webcat page (1997)
Processing all html files through WebCat or Typhoon (1998)
Encrypt question. (2000)
Interesting speed comparison .. (2003)
Multiple prices (1997)
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
WebCat and WebTen 2.0 (1997)
show related items (2003)
Pull Down Search (2000)
Not really WebCat (1997)
More EudoraPro Email Options (1998)
BR (1997)
Bug? (1997)
random random links (1999)
Text data with spaces in them... (1997)