04-05-2010, 08:45 AM
Knows Where the Search Button Is
Join Date: Mar 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 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