Milliseconds Function?
Milliseconds Function?
- Subject: Milliseconds Function?
- From: Brian Moore <email@hidden>
- Date: Fri, 25 Jan 2002 20:12:17 -0500
I've looked around and searched the cocoa docs for some method or
function which would allow me to get the current milliseconds (000-999).
I've deduced a messy and expensive way: [[[NSCalendarDate date]
descriptionWithCalendarFormat:@"%F"] intValue], which works...but it
uses way too many CPU cycles to be realistically usable. I apologize in
advance if this is unbelievably obvious, but I couldn't find a single
way. Can anyone help me?
Thanks.
- Brian Moore