[moneydance] XML Tags
Randall Pierce
zrepmd at yahoo.com
Sun Jul 23 21:18:33 EDT 2006
>rpiercemd wrote:
>
>> I have had a security name change, so now have two securities which
>> are the same thing. I am editing the XML file to get
>everything under
>> the security's newest name. There is a "TAGS" subheading under
>> "CURRENCY" which contains a "KEY" = "price_date" with a "VALUE" =
>> 1161078500000. It is not clear what this number represents. Does
>> anyone have some insight? I would like to basically merge
>the xml data
>> for these securities, but these "price_date values are clearly
>> different.
>
>As mentioned in other Email, it's a Java timestamp, and that's
>similar to Unix time which tracks time in seconds. However, I
>get a different time with my conversion, so just to confuse things:
>
> $ python
> >>> from time import *
> >>> ctime(1161078500.000)
> 'Tue Oct 17 05:48:20 2006'
>
>Perhaps it's an expiration date or somesuch.
>
>The current time is
>
> >>> time()
> 1153702874.3777349
>
>BTW, the Unix world has a problem in 2038 when the time field
>overflows a 32 bit signed integer:
>
> >>> ctime(0x7fffffff)
> 'Mon Jan 18 22:14:07 2038'
> >>> ctime(0x80000000)
> 'Fri Dec 13 15:45:52 1901'
>
>However, Edward Reid and I will be long retired by then....
>
> -Ric Werme
>
Thanks for looking into this. So can you tell me exactly what date is
1151078400000? I got close, but only hand grenade close.....
Randy
More information about the moneydance-info
mailing list