11-23-2009, 07:58 AM
|
#3 (permalink)
|
| BlackBerry Extraordinaire
Join Date: Mar 2008 Location: Austin, TX Model: 9700 PIN: N/A Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0 Thanked 34 Times in 33 Posts
| The current time is available using System.currentTimeMillis()
(the number of milliseconds since 1/1/1970, GMT)
You then use this value to create a date object:
dt = new Date(System.currentTimeMillis()) |
| Offline
| |