BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 04-05-2010, 09:45 AM   #1 (permalink)
Knows Where the Search Button Is
Join Date: Mar 2009
Model: 8100
Carrier: AIRTEL
Posts: 25
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default getDate with DateField.TIME format problem

Please Login to Remove!

I am using JDE 4.5 and creating two fields one with date format and another
with time format. When working with time format we create the field using the
style DateField.TIME, but its returning the milliseconds from midnight 1970.

DateField d1=new DateField("Time",milliseconds,format,DateField.TIM E)

In the documentation, it was given that it will return milliseconds between 0 and 24*60*60*1000 ie., for current day.

Is there any problem with the API or is there any problem in creating the date field.
Please assist me in this aspect
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.