> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:owner-u2- > [EMAIL PROTECTED] On Behalf Of George Gallen > Sent: Tuesday, September 12, 2006 5:32 PM > To: [email protected] > Subject: RE: [U2] Time/Date as a single number > > I'm limited to 10 characters, and to a barcode that will only > use 0-9. Problem is one of the 10 characters will need to be > a basic checksum, which drops me to 9 numbers. (this can't change > it's the way the bar code reader/decoder is setup). >
Which symbology are you using? We normally use 39, since it allows us to barcode letters and a few non-alphanumeric values. > I figured 86400, from 60 sec * 60 min * 24 hours > > I could cheat a little, since none of the dates would be before > Oct 2006. > > But it doesn't leave me much room. I really don't know what the > upper date limit will be (I'd like to be able to work with 10 > years at a min.) which is 3660 * 86400 = 31622400, which works. > > I think I have it worked out, but it's messy using all kinds of > bit manipulation and packing, hoping it's not too slow. > > George Glen ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
