Extract date from mobile OS?

5 views
Skip to first unread message

Rohit

unread,
Jan 6, 2009, 3:47:24 AM1/6/09
to SRKNEC SUN Club
Well I want to know whether there is any provision in J2ME netbeans
with which I can extract/use the current date in my application from
the mobile OS?

Vasusen Patil

unread,
Jan 7, 2009, 1:43:01 AM1/7/09
to srknec...@googlegroups.com
Do this:

Date d = new Date(); then t = d.getTime()

then, use Calendar to get date in the format that you want!
Reply all
Reply to author
Forward
0 new messages