Help Center

Local Navigation

Create a date field

  1. Import the net.rim.device.api.ui.component.DateField class.
  2. Create an instance of a DateField, providing the value returned by System.currentTimeMillis() as a parameter to return the current time.
    DateField dateField = new DateField("Date: ",System.currentTimeMillis(), DateField.DATE_TIME);
    
    

Index


Was this information helpful? Send us your comments.