Re: Cart date/time
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66525
interpreted = N
texte = Matthew Bohne wrote:> Try chopping off the last four digits, that should give you the number > of seconds since 1/1/1900 00:00:00On the Mac, perhaps, but on Windows or Linux, the epoch is 1/1/1970. The Mac epoch is broken in the sense that it is a floating epoch based on local time Jan 1, 1900.On Windows and Linux, the first *10* characters of the cart value are the number of seconds since 1/1/1970 (Unix epoch). The remaining digits are probably milliseconds (3 digits) followed by the unique sequence number Matthew mentioned (4 digits).Before Sun Sep 9 01:46:39 2001 GMT, the first *9* digits were the number of seconds since the epoch (again on Windows and Unix). See "Happy 1e9 day" here:http://www.oreillynet.com/onlamp/blog/2001/09/John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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/
Associated Messages, from the most recent to the oldest:
Matthew Bohne wrote:> Try chopping off the last four digits, that should give you the number > of seconds since 1/1/1900 00:00:00On the Mac, perhaps, but on Windows or Linux, the epoch is 1/1/1970. The Mac epoch is broken in the sense that it is a floating epoch based on local time Jan 1, 1900.On Windows and Linux, the first *10* characters of the cart value are the number of seconds since 1/1/1970 (Unix epoch). The remaining digits are probably milliseconds (3 digits) followed by the unique sequence number Matthew mentioned (4 digits).Before Sun Sep 9 01:46:39 2001 GMT, the first *9* digits were the number of seconds since the epoch (again on Windows and Unix). See "Happy 1e9 day" here:http://www.oreillynet.com/onlamp/blog/2001/09/John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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/
John Peacock
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:
searching multiple databases (1997)
WebCat2 - Getting to the browser's username/password data (1997)
unsubscribe (2000)
Stats (2001)
Almost a there but..bye bye NetCloak (1997)
[WebDNA] Greetings to all (2016)
Lots of bounce errors (2007)
No luck with taxes (1997)
formatting dates from a field ... (1997)
Checking whether remote image exists? (2004)
SET and C-SET (1998)
Attn: Bug in GeneralStore example b15 (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
database size? (1997)
For Grant: Webcatalog 4.0 - When will we be able to beta testit? (2000)
Plugin or CGI or both (1997)
[searh] or [shownext]problem (1998)
expired beta (1997)
F3 crashing server (1997)
Showing once on a founditems (1997)