+ Start a Discussion
downloadingdownloading 

DateTime

HI , 

 

I wanna display the datetime, but i am facing a problem here, 

i have used date formatter  as mm/dd/yyyy, and time as hh:mm:ss.

so , when the date is dislayed, in the place of month minutes are being displayed, 

How could i rectify this, 

what are the correct date and Time Formatters

Could any one help me with this proble 

 

 

Thanks in advance..

Best Answer chosen by Admin (Salesforce Developers) 
aballardaballard

I believe you use uppercase M for month (i.e. MM/dd/yyyy )