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:
whole word matching (2004)
WebCatalog NT beta 18 problem (1997)
Errata: WCS Newbie question (1997)
Mac Vs WindowsNT (1997)
SSL with IIS 4.0 (1998)
[OT] Form POSTing with LONG variable (2007)
List of WebDNA users - Show of Hands (2002)
WebDNA 4.5.1 Now Available (2003)
Multiple cart additions (1997)
Exclamation point (1997)
[WebDNA] Repeated Task [reworking a DB) (2015)
same product in cart (1997)
combine search (1998)
Error: Too many nested [xxx] contexts (WebTen only) (1997)
Why does this not work? (2002)
Nested tags count question (1997)
Progress !! WAS: Trouble with formula.db (1997)
[WebDNA] Problem with [ListDatabases] - WebDNA CE 6.0a - Windows (2010)
Using WC for Bulk Emailings (1997)
&max= (2003)