numero = 55519
interpreted = N
texte = 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. Well, if your on the webdna list you have to discuss WebDNA's epoch atleast! ;-)find short documentation at bottom of:http://webdna.smithmicro.com/ref/pages.html?context=FormatContext.html 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).This is the trick isn't it. Are you saying it would be too difficultto add this feature because of timezones? How about leapyearsand daylight savings time etc?*If* that is the case, it would be at least nice to be able to selectbetween a couple or few of the most popular ones (at the very least beingable to access the "UTC" epoch.> If you want to use "number of seconds since some specific second" > subtract the epoch from your value to produce an offset.I'm not really talking specifically about seconds since epoch (thoughthat would be great), I am also talking about days since epoch etc.It just depends. Lets say, for that example that I posted that I wantto parse out the secondssinceepoch field via XML from sourcefourge. Howwould I do that since their epoch is different than WebDNA's?DonovanP.S. these are issues that have come up for me in the past and I haveno immediate needs for this.> > John> -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
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. Well, if your on the webdna list you have to discuss WebDNA's epoch atleast! ;-)find short documentation at bottom of:http://webdna.smithmicro.com/ref/pages.html?context=FormatContext.html 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).This is the trick isn't it. Are you saying it would be too difficultto add this feature because of timezones? How about leapyearsand daylight savings time etc?*If* that is the case, it would be at least nice to be able to selectbetween a couple or few of the most popular ones (at the very least beingable to access the "UTC" epoch.> If you want to use "number of seconds since some specific second" > subtract the epoch from your value to produce an offset.I'm not really talking specifically about seconds since epoch (thoughthat would be great), I am also talking about days since epoch etc.It just depends. Lets say, for that example that I posted that I wantto parse out the secondssinceepoch field via XML from sourcefourge. Howwould I do that since their epoch is different than WebDNA's?DonovanP.S. these are issues that have come up for me in the past and I haveno immediate needs for this.> > John> -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
Donovan Brooke
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...