BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-21-2009, 02:22 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: Strom
PIN: N/A
Carrier: Vodafone
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default DateFiled in Blackberry

Please Login to Remove!

Hi,

I have used DateField in one of my appllication.
It is showing on the screen as Mon APR 21 2009. But I want only MM DD part of the date i.e. APR 21.

How can i remove year and day part from the DateField???

Thanks,

Suhas
Offline  
Old 04-21-2009, 05:39 AM   #2 (permalink)
New Member
 
Join Date: Apr 2009
Model: No
PIN: N/A
Carrier: Unknow
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try

DateFormat df = new SimpleDateFormat("MMM d");
DateField datefield = new DateField("Date: ",System.currentTimeMillis(),df)
Offline  
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

1pcs MICROCHIP 24LC512 24LC512-I/P EEPROM DIP-8 IC NEW
$0.65
1pcs MICROCHIP 24LC512 24LC512-I/P EEPROM DIP-8 IC NEW pictureNew American Reliance 9850UV E/EEPROM Programmer
$9.99
New American Reliance 9850UV E/EEPROM Programmer picture**NEW IN BOX** MITSUBISHI PLC FX-EEPROM-4 MEMORY MODULE
$39.99
**NEW IN BOX** MITSUBISHI PLC FX-EEPROM-4 MEMORY MODULE pictureNew Total Phase EEPROM Programming Kit TP120510 Program I2C EEPROMs and SPI
$232.52
New Total Phase EEPROM Programming Kit TP120510 Program I2C EEPROMs and SPI  picture56-PCS IC 24LC01B/SN EEPROM 1KBIT 400KHZ 8-PIN SOIC MICROCHIP 24LC01B/SN 24LC01
$9.0
56-PCS IC 24LC01B/SN EEPROM 1KBIT 400KHZ 8-PIN SOIC MICROCHIP  24LC01B/SN 24LC01 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.