+ Start a Discussion
bca321bca321 

subString


Message Edited by bca321 on 03-12-2009 10:08 AM
WhyserWhyser

bca321 wrote:

Hi,

 

How to write down subString for Date type.

Ex; 09 JAN 12

 

String year = '09';

year = pDueDate.year().format();

String month = 'Jan';

month = pDueDate.format('MMM');

String day = '10';

day = pDueDate.day().format();

String hour = '00';

hour = pDueDate.hour().format();

String minute = '00';

minute = pDueDate..minute().format();

String second = '00';

second = pDueDate.second().format();

 

I want to know subString pattern for this one. Help me.


Is that what you're looking for?