[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] ExpenseDB format



On Tue, Apr 16, 2002 at 01:02:16PM -0400, Andrew Arensburger wrote:
> 	Could it be the number of seconds since midnight, Jan. 1,
> 1904? Does
> 	scalar(localtime($date - 2082844800))
> give a reasonable value?

Num of seconds since midnight jan 1 1904 GMT ofcourse.

I did this...

my $epoch = 2082819600;

[..other code..]

my $creationDate = time + $epoch;
my $modificationDate = time + $epoch;

Sort of the opposite method if what you're looking for, but
you get the idea :)

-- 
Adam McDaniel
Array Networks
Calgary, AB, Canada

-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.