|
That's interesting. Is that the result of a binary FTP or something? Normally the system will only show a timestamp as a 26-byte value. Dates are stored as Scaliger numbers (http://archive.midrange.com/rpg400-l/200106/msg00647.html) -- dates occupy 4 bytes on disk; Times occupy 3 bytes; Timestamps occupy 10 bytes (http://archive.midrange.com/midrange-l/199810/msg01318.html) so I find it strange that you're getting a 64-bit (8-byte) timestamp value. Maybe you dropped a couple of bytes? hth, Peter Dow Dow Software Services, Inc. www.dowsoftware.com 909 793-9050 voice 909 793-4480 fax > -----Original Message----- > From: midrange-l-bounces@xxxxxxxxxxxx > [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of p prasad > Sent: Thursday, July 21, 2005 6:54 AM > To: midrange-l@xxxxxxxxxxxx > Subject: Timestamp > > > Hi, > I am receiving TIMESTAMP value from the iSeries system as an > unsigned 64 bit integer value. Is it possible to convert this > timestamp into a readable format in windows machine? The iSeries > timestamp value is an unsigned 64 bit integer value. All the time > management routines which I can use on a windows machine deal > with signed integer value. So the iSeries timestamp appears as a > negative value(the MSB is 1 in the iSeries TIMESTAMP) to the > routines like ctime64() or gmtime64(). Any clues? > > P.Prasad > > > --------------------------------- > How much free photo storage do you get? Store your friends n > family photos for FREE with Yahoo! Photos. > http://in.photos.yahoo.com > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) > mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.323 / Virus Database: 267.9.2/52 - Release Date: 7/19/2005 > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.9.2/54 - Release Date: 7/21/2005
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.