[prev in list] [next in list] [prev in thread] [next in thread]
List: kvm-interest
Subject: Re: currentTimeMillis
From: Brill Pappin <brill.lists () JMONKEY ! COM>
Date: 1999-11-29 16:35:53
[Download RAW message or body]
Nope...
I was working on something similar a little while ago, be had to give it up, because \
of the long problems, and/or the lack of a Date class...
- Brill Pappin
www.jmonkey.com
On Mon, 29 Nov 1999 09:01:50 +0100, Roger Lindsj| <d97roli@DTEK.CHALMERS.SE> wrote:
> Hi,
>
> I have started to use KVM ea2 instead of the one released at JavaOne. I am
> creating a time logging tool and planned to use curentTimeMillis in
> System. It returns a long, but I can do almost nothing with it. I can get
> the lower 32 bits into an int with &0xffffffff, but that one weraps every
> 49 days, so I need the upper 32 bits also, but everything I try gives
> Illegal Opcode 0. I have tried >>32 >>>32 /1024 (to at least get another
> 10 bits), but everything fails. Also tried to create a Long and print it
> to a string, but that also fails.
>
> Has anyone else been successfull in using currentTimeMillis, or is there
> some other way of getting the current date and time?
>
> Roger Lindsjö
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic