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 the database.[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 AM Subject: 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:

    
  1. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  2. Re: [WebDNA] Dead line Time Math (Tom Duke 2017)
  3. Re: [WebDNA] Dead line Time Math (Michael Davis 2017)
  4. RE: [WebDNA] Dead line Time Math ("Terry Nair" 2017)
  5. RE: [WebDNA] Dead line Time Math ("Terry Nair" 2017)
  6. Re: [WebDNA] Dead line Time Math (Stuart Tremain 2017)
  7. Re: [WebDNA] Dead line Time Math (Stuart Tremain 2017)
  8. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  9. Re: [WebDNA] Dead line Time Math (Stuart Tremain 2017)
  10. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  11. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  12. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  13. Re: [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  14. Re: [WebDNA] Dead line Time Math (Kenneth Grome 2017)
  15. [WebDNA] Dead line Time Math (Lawrence Banahan 2017)
  16. Re: Time math (John Peacock 2002)
  17. Re: Time math (Inkblot Media 2002)
  18. Time math (WJ Starck 2002)
  19. Date and Time Math (Jeremy Pocock 1997)
Remove the ttime parameter in the math tag.You can also try converting the accesstime before writing it to the database.[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 AM Subject: 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)