FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   milliseconds?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: milliseconds?  (Read 193 times)
kevin

WWW
milliseconds?
« on: Oct 7th, 2003, 8:29pm »

Hi,
 
Is it possible to find the milliseconds of the current time.
 
I know you can use millis, but that's related to program time, I'm interested in the PC clock time.
 
Thanks,
 
- Kevin
 
Koenie

170825270170825270koeniedesign WWW Email
Re: milliseconds?
« Reply #1 on: Oct 7th, 2003, 9:23pm »

You could use Java's Date.getTime(), which returns the milliseconds since January 1, 1970, 00:00:00 GMT. I know that will return a really big number (1*10^12), but you can probably parse it easily.
 
I hope this helps.
 
Koenie
 

http://koeniedesign.com
Pages: 1 

« Previous topic | Next topic »