Re: feature request-- [epoch]

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 55517
interpreted = N
texte = John, I hear ya, I was just thinking outside of the box to address the viability of Donovan's request, which was to be able to specify our own epoch for whatever reason. He asked if he could find out how fast a pig can fly, and rather than tell him that pigs don't fly and move on, I am just exploring a solution given the parameters he specified. -Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com http://www.SearchBoise.com ------------------------------------------------------------ On Fri, 16 Jan 2004 13:41:58 -0500 John Peacock wrote: >Dan Strong wrote: > >>Sorry ahead of time if my thinking is malformed (this IS off the top of >>my head...), but intuitively, it seems to me that by knowing the date of >>the epoch ('standard' (UNIX, etc.), or your own) you could do anything >>you want... > >Please believe me when I say that the only epoch worth discussing is 1970-01-01T00:00:00. This >is the international UTC epoch (and oddly enough the Unix one as well). In order for a "number >of seconds since some epoch" to be useful, the "epoch" must be the same for all calculations. > This number will be consistent no matter what timezone you are in (which a floating epoch will >not be). > >If you want to use "number of seconds since some specific second" subtract the epoch from your >value to produce an offset. > >John > >-- >John Peacock >Director of Information Research and Technology >Rowman & Littlefield Publishing Group >4501 Forbes Boulevard >Suite H >Lanham, MD 20706 >301-459-3366 x.5010 >fax 301-429-5748 > > >------------------------------------------------------------- >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: feature request-- [epoch] ( John Peacock 2004)
  2. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  3. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  4. Re: feature request-- [epoch] ( "Dan Strong" 2004)
  5. Re: feature request-- [epoch] ( John Peacock 2004)
  6. Re: feature request-- [epoch] ( "Dan Strong" 2004)
  7. Re: feature request-- [epoch] ( "Nitai @ ComputerOil" 2004)
  8. Re: feature request-- [epoch] ( John Peacock 2004)
  9. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  10. Re: feature request-- [epoch] ( "Nitai @ ComputerOil" 2004)
  11. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  12. feature request-- [epoch] ( Donovan Brooke 2004)
John, I hear ya, I was just thinking outside of the box to address the viability of Donovan's request, which was to be able to specify our own epoch for whatever reason. He asked if he could find out how fast a pig can fly, and rather than tell him that pigs don't fly and move on, I am just exploring a solution given the parameters he specified. -Dan ------------------------------------------------------------ http://www.StrongGraphicDesign.com http://www.SearchBoise.com ------------------------------------------------------------ On Fri, 16 Jan 2004 13:41:58 -0500 John Peacock wrote: >Dan Strong wrote: > >>Sorry ahead of time if my thinking is malformed (this IS off the top of >>my head...), but intuitively, it seems to me that by knowing the date of >>the epoch ('standard' (UNIX, etc.), or your own) you could do anything >>you want... > >Please believe me when I say that the only epoch worth discussing is 1970-01-01T00:00:00. This >is the international UTC epoch (and oddly enough the Unix one as well). In order for a "number >of seconds since some epoch" to be useful, the "epoch" must be the same for all calculations. > This number will be consistent no matter what timezone you are in (which a floating epoch will >not be). > >If you want to use "number of seconds since some specific second" subtract the epoch from your >value to produce an offset. > >John > >-- >John Peacock >Director of Information Research and Technology >Rowman & Littlefield Publishing Group >4501 Forbes Boulevard >Suite H >Lanham, MD 20706 >301-459-3366 x.5010 >fax 301-429-5748 > > >------------------------------------------------------------- >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:

PayPal WebMerchant Templates (2006) help with duplicate records posted (1998) [WebDNA] grep again (2010) t or f (1997) Q: writefile and uploads. (1998) WebCatalog stalls (1998) Search in 2 or more catalogs (1997) type 2 errors with ssl server (1997) BR (1997) XMLNodes Error (2007) my price won't move (1997) Which beta for w* 4.1 and a problem w/b12 (1999) Catalogs and W* (1996) WebCatalog for guestbook ? (1997) can I get formvariables for an include? (1999) emailer setup (1997) [ShowNext] feature in 2.0 (1997) WebDNA Quick Reference (Reserved Words) (2000) AD Error Msg (1997) re: emailer prob (1998)